Also, if in Wappler, I fetch data from one of the tables subject of the SQL, I get the results as expected. So, Wappler can see and communicate with the database in the hosted container:
Hello, do you only have this error in Wappler - i.e, is the query working when the server action runs in the browser?
Do regular queries, created using the query builder work fine?
Hi Teodor, the query works in the browser and when the query is executed in the webpage. I guess the error is only the message in the modal for the custom query.
Please restart Wappler with logging, reproduce the error and click the submit bug report from the menu. This will open the log file location in the explorer so you can drag and drop the report here in this topic (no need to create a new one)
Sorry, I am such a newbie that I am embarrassed.
I restarted with logging, as you indicated, but I have not found “the submit bug report from the menu”. If you indicate me where this option and menu are, I will submit the bug report.
Hm … in the debug log i see you are pasting a really strange value in the custom query input.
Can you please paste here the EXACT content you are trying to use in the custom query in Wappler UI?
Correct, I removed all the comments from the sql script and I still get the error. See below how the new line 1 starts without comments, yet the error persists: