App-wide query failures after recent update (empty values / quoting issues)

Hi all,

We’re seeing a system-wide issue across one of our clients' Retool apps where multiple queries are failing on page load and across modules.

There were no recent changes on our end, but we’re now getting errors like:

  • invalid input syntax for type integer
  • trailing junk after numeric literal
  • syntax errors due to unquoted text/UUIDs

Example pattern:

SELECT * FROM app_users WHERE retool_id = {{ current_user.id }}

Now needs to be handled as:

SELECT * FROM app_users WHERE retool_id = '{{ current_user.id }}'

So it looks like stricter runtime handling is now surfacing:

  • empty values ("")
  • unquoted text / UUIDs
  • inputs that previously didn’t error

This is affecting multiple modules simultaneously, which suggests it’s not isolated to a single query or screen.

Questions:

  1. Has anyone else seen similar behavior recently?
  2. Was there a recent change to how Retool handles query inputs/interpolation?
  3. Where can we get reliable information on these types of updates?
    The changelog and blog are helpful, but tend to be high-level and don’t always capture runtime/behavior changes.
  4. Does anyone have an internal process for monitoring Retool Cloud updates or catching breaking changes early?

We’re currently working through a stabilization pass, but wanted to check if others are seeing the same thing or if there’s any official guidance.

Thanks!

Hey @Shawn_Optipath ! I am currently unable to reproduce this behavior on my Cloud environment. What is the subdomain of the instance you are working within so that I can see if there are any flags I may need to toggle on/off to replicate this issue.

Hey @BAbarquez,

I just PMed you with the subdomain. Thanks!

This is the only change in the app since the issues began:

A big thanks to @BAbarquez for helping me narrow it down to a db setting that was changed internally.

We should really lock down settings like this.

1 Like