Skip to content

sdk_session_expired

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

The SDK session passed its refreshUntil. The SDK exchanges a new user token on its own; a custom client calls POST /api/v1/sdk/sessions again.

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

  • The SDK session has ended. Exchange a new user token.

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

{
"type": "https://docs.nexafone.so/errors/sdk_session_expired",
"title": "Unauthorized",
"status": 401,
"code": "sdk_session_expired",
"detail": "The SDK session has ended. Exchange a new user token.",
"requestId": "01J9Z8Q4TQ3W6M5V2X7Y8Z9A0B"
}

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