What it means
The API key on the request is missing, wrong, revoked, or belongs to a different mode than the thing you asked for.Common causes
- The
Authorization: Bearer <key>header is missing or spelled differently. - The key was revoked in the partner dashboard.
- A test key was used against a live resource, or a live key against a test one. Each mode has its own keys and its own data.
- The key’s partner account is suspended.
What to do
- Send the key as
Authorization: Bearer lst_...on every call. - Check in the partner dashboard that the key is still active and which mode it belongs to.
- Issue a new key if the old one was revoked, and replace it everywhere it is used.
error.request_id. Quote it if you write to support, and read Debugging your integration to look the call up yourself.
All errors