For troubleshooting, you could try hardcoding the inputs instead of referencing the components to ensure the query is configured correctly before making it dynamic.
Google Sheets can be tricky with data types & trailing spaces, so make sure the property names and values are formatted exactly the same as the sheet