Updating SQL with Python – Incorrect number of bindings

The problem is that it is considering the parameter as string instead of tuple as that’s the expected behavior in python for a tuple with single element.

Try updating the parameter tuple as

(file_route, )

have a comma after the parameter.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top