Skip to content

401 or 403 from the API

The key is wrong, revoked, or missing a permission.

ErrorFix
401 unauthorizedSend Authorization: Bearer <full key>. Revoked or rotated keys stop working.
403 insufficient_scopeThe key lacks the endpoint's permission. Create a key with it.
403 environment_mismatchTest keys reach test agents only; live keys live agents only.