quotastack Docs
Docs / API / Errors / unauthorized
401

Unauthorized

https://api.quotastack.io/errors/unauthorized

QuotaStack did not accept your API key, so it did not run the call.

Why it happened

  • The Authorization header was missing.
  • The key was revoked, or it was typed wrong.
  • You sent a dashboard session where the call wants an API key.

How to fix it

  1. Send Authorization: Bearer <your key>.
  2. Check the key is still live in the dashboard.
  3. Remember that a sandbox key and a live key are two different keys.
Example response 401
{
  "type": "https://api.quotastack.io/errors/unauthorized",
  "title": "Unauthorized",
  "status": 401,
  "detail": "Missing or invalid API key."
}

Which calls return this

See also