API call for parameterized queries

Hi there,

I have a query with a text type parameter and want to use the Query API Key to access the query result. I followed the API doc to use POST and pass the parameter to JSON request body like the example below

    "parameters": {
    "max_age": 1800

I got an error message: “Internal Server Error”. Not sure what’s the problem. Any suggestions are helpful. Thank you in advance for the help!

We really need to improve our error codes. Redash failure codes aren’t useful at all :frowning:

Because of that we don’t have enough information to help with this. Can you share the complete CURL with your API key and host removed? Do you see anything in your docker logs?