Hi, I'm trying out the new API keys in my local instance but whenever I create the client and run a request against the db, I always get this error:
[Error] { code: "PGRST301", details: null, hint: null, message: "Expected 3 parts in JWT; got 1" }
I get that the new secret key isn't a valid JWT which is the supposedly alternative for the old
service_role
service_role
key. I'm using this within an edge function. Can anyone help me overcome this? I would want to stay within my local environment first while testing everything.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.