Skip to main content
401 UnauthorizedAuthentication

UNAUTHENTICATED

Missing, invalid or revoked access token

When it happens

The request had no Authorization: Bearer header, the token was malformed, or the secret that issued it was revoked.

How to fix it

  1. Get a token from POST /oauth/token with your client id and secret, and send it as Authorization: Bearer <token>.
  2. Check you are using credentials for the mode you expect: test and live credentials are separate.
  3. If a secret was revoked, create a new one in Dashboard → Developers.
RetryingFix the cause, then retry (with the same Idempotency-Key, if the request takes one).How idempotency works

Example response

HTTP 401 Unauthorized
{
"status": "failed",
"error": {
"code": "UNAUTHENTICATED",
"message": "Send a valid access token.",
"doc_url": "https://developer.getreeds.co/errors/UNAUTHENTICATED"
}
}