Appearance
token_expired
Token expired · HTTP 401
The access token's exp has passed. A token is a ticket to connect, valid for at most ten minutes, and it was used too late.
What to do: Mint tokens on demand, immediately before a connect, rather than ahead of time. Give TalklineClient a token provider so every connect and reconnect asks your backend for a new one.
Where it comes from:
- Control API
- Signaling — a client's connect, a request, or an event
Branch on code; detail is for your logs and never for a user. All error codes.