Permission denied to schema public (403 error)

I'm new to supabase and I'm using Firebase Studio for this all Can someone tell me what to do?? Even google gemini failed to answer It says Everything is fine with RLS policies, tables, code and integration of supabase and firebase What else could be the issue??
No description
No description
No description
4 Replies
ihm40
ihm402w ago
Could you go to this page for your application and see if public schema is exposed to the API https://supabase.com/dashboard/project/_/settings/api
ihm40
ihm402w ago
Also if you have a code snippet to share that woudl help to see it's not a client side issue
garyaustin
garyaustin2w ago
For the permission issue: Do you use an AI and allowed it to run SQL? Do you use Prisma? The error seems to indicated you did something to mess up the grants on public schema most likely. Check the API Gateway logs for more info on the call and error.
POLARIS
POLARISOP2w ago
@garyaustin @ihm40 I have given acces to all rather than just authenticated users And it worked (just for testing) But thankyou for your advice I'll check it and then update you about the issue Thankyou

Did you find this page helpful?