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
silentworks
silentworks3w ago
I think you would need to provide more details than this for someone to be able to help.
wuyuansheng1982
wuyuansheng1982OP2w ago
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.

Did you find this page helpful?