It is a common mistake that when executing a query that needs a single parameter to bind, the user does not pass it in a list:
This results in an unclear error message:
We could catch this exception and propagate it with a more useful message.