Postgres DB Queries Running Endlessly / 422 & 403 errors in console

I have a bunch of postgres DB queries in an app that worked really well for a long time. But now when I load the app it just runs them endlessly - past their set timeouts. Simultaneously, I get 422s and 403s in the console, and I'm not sure what they're related to.

Connectivity with the DB tests fine.
I tried using a different DB connection.
Running same queries directly in DB works fine.

Screenshots:


Screen Shot 2025-03-10 at 2.56.06 PM

Any ideas welcome - thanks!

Hi @Andy_Wertner,

Thanks for reaching out!

Do the queries ever resolve? Did you see the same issue with a different DB connection?

In edit mode, what do you see in the tooltip for the query after it has run:

Does an admin in your organization see the same issue when they load the app?

About how many columns/records are you querying across these queries? Curious if running a dummy query against one of your db tables, like select * from insert_table_name_here limit 1 works as expected?