[HTTP Error 400: Bad Request] - Setup QUERY into a variable #735
-
Hello, I've this code:
and this is the function:
This is the error I get it:
How can I fix this issue? This is a test I did:
it seems that the issue is likely with the way the query is being passed to the db.fetch() method. How can I fix this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If I do like this: Function: Main: I get the same error.
Please support me, I need to pass the query because everytime the query can change and I need to pass it by a variable. |
Beta Was this translation helpful? Give feedback.
-
Ok it's solved, it is enough call the variable with json.loads |
Beta Was this translation helpful? Give feedback.
Ok it's solved, it is enough call the variable with json.loads