You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verify the key is active: In the Supabase Dashboard, check Project Settings > API Keys. Secret keys do not have an enable/disable switch; if the key is listed, it is active.
Inspect edge logs: Test with a placeholder UUID. A 404 response confirms the secret key was accepted and authenticated. To troubleshoot other status codes, check Logs > API Gateway using the sb-request-id response header.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Requests to
GET /auth/v1/admin/users/{id}fail with HTTP 401 and headersb-error-code: UNAUTHORIZED_MISSING_API_KEY("No API key found in request").Why this happens
This error occurs when:
sb_secret_) is sent only within theAuthorization: Bearerheader.apikeyheader.How to resolve it
apikeyheader: Include the secret key directly in theapikeyheader. AnAuthorization: Bearerheader is not required for this endpoint:sb-request-idresponse header.All reactions