401 UnauthorizedAuthentication
TOKEN_EXPIRED
The access token has expired Access tokens last one hour. This one is older than that.When it happens
How to fix it
POST /oauth/token and retry.expires_in runs out, so requests never meet an expired token.
RetryingRetry with the same Idempotency-Key.How idempotency works
Example response
HTTP 401 Unauthorized
{
"status": "failed",
"error": {
"code": "TOKEN_EXPIRED",
"message": "The access token has expired. Get a new one from /oauth/token.",
"doc_url": "https://developer.getreeds.co/errors/TOKEN_EXPIRED"
}
}