API key works on my laptop, denied on my VPS
I tried the supabase Python API with the key, it works fine on my laptop, but when I tried running it on my VPS, I am getting an API key denied error. Any idea what the problem is?
2 Replies
I think you would need to provide more details than this for someone to be able to help.
found the answer
The "Invalid API Key" error in Supabase occurs when the API key provided is incorrect, revoked, mistyped, expired, or not compatible with the version of the Supabase client library you are using. Key causes include:
Using an outdated Supabase client library version that does not support the new format of API keys (for example, keys starting with "sbsecret"). Upgrading the Supabase Python library to a newer version can resolve this issue.