UnauthorizedHTTP 401
No accepted API key or signed-in session
- Meaning:
- The request carried no API key and no signed-in session.
- Fix:
- Send an API key as
Authorization: Bearer sbw_…, or call from a browser signed in at /auth/signin. How to get a key: /auth.md - Retry:
- Do not retry unchanged: the request itself has to change.
The request sent no API key.
The request carried no API key and no signed-in session.
Fix: Send an API key as
Authorization: Bearer sbw_…, or call from a browser signed in at /auth/signin. How to get a key: /auth.mdThe request sent an API key.
The API key was not accepted: it is malformed, unknown or revoked, or this endpoint takes only a signed-in session.
Fix: Check the key with GET /api/v1/me. If that also answers 401, make a new key at /dashboard/api-keys. If it answers 200, this endpoint needs a browser signed in at /auth/signin; /docs/api lists what each endpoint accepts.