Skip to content

user_token_expired

HTTP status 401
Area Keys and SDK sessions
Problem type https://docs.nexafone.so/errors/user_token_expired

The token’s exp has passed, or lies more than 10 minutes ahead. Sign a new token for every sign-in, just before the SDK asks for it.

The detail explains the occurrence; it can read, for example:

  • The user token has expired. Sign a new one.

Check the credential: send a valid, unrevoked key or a fresh token.

{
"type": "https://docs.nexafone.so/errors/user_token_expired",
"title": "Unauthorized",
"status": 401,
"code": "user_token_expired",
"detail": "The user token has expired. Sign a new one.",
"requestId": "01J9Z8Q4TQ3W6M5V2X7Y8Z9A0B"
}

Match on code, never on detail: the wording may change. See Problem Details.