Authentication required
The request did not say who is making it, or we did not accept the credentials it sent.
- Status
- Type
https://docs.digitospace.com/problems/unauthenticated
What it means
Every request must carry a token in the Authorization header, and this one had none, or had one we do not accept.
How to fix it
- Send the header as
Authorization: Bearer <token>, with a single space afterBearer. - Check the token is complete, with nothing added or cut off when it was copied.
- If the token has been revoked or replaced, use the current one.
- For
key_not_found, check the web key in your page. A revoked web key stays refused; make a new one in the console. - For
session_expired, start a new visit. The web SDK does this for you.
Codes
| Code | Retryable | When |
|---|---|---|
unauthenticated | No | The bearer token is missing or not one we accept |
key_not_found | No | AI: the web key does not exist or was revoked |
session_expired | Yes | AI: the web page’s visit has expired; start a new one |
ticket_invalid | No | Messaging: the ticket is not one we signed |
ticket_expired | Yes | Messaging: the ticket has expired; get a new one from the app |
Last updated