Saved query expression generates multiple `eq` filter on every other request

I have a saved query that I use to make from requests from supabase storage, I know it will return a single row, but this request would fail with the following error on every other try. The error suggests that the query failed due to the single filter returning 0 row or multiple rows, if I replaced single with maybeSingle the error goes away but I get no rows back. However if I use the query directly, the above weird behavior goes away, I'm wondering if it's something I'm doing wrong in React/TS or something funky going on with supabase queries. Attaching screenshots explaining the above situation.
image.png
image.png
Was this page helpful?