Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseβ€’3y agoβ€’
8 replies
peter

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

I have a saved query that I use to make
from
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
single
filter returning 0 row or multiple rows, if I replaced
single
single
with
maybeSingle
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
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Calling saved Query?
SupabaseSSupabase / help-and-questions
3y ago
Supabase query url getting appended on every subsequent request
SupabaseSSupabase / help-and-questions
3w ago
Multiple Filter on a stream
SupabaseSSupabase / help-and-questions
6mo ago
Postgres' built-in `lower` in `eq` query ?
SupabaseSSupabase / help-and-questions
4y ago