Jump toidentity_token_invalid
Website widgets
- widget_key_invalid404
- widget_key_revoked403
- widget_disabled403
- origin_not_allowed403
- consent_required403
- identity_required401
- identity_token_invalid401
- session_expired401
- message_too_large413
- spend_cap_reached429
- uploads_off403
- upload_too_large413
- upload_type_not_allowed415
- upload_unreadable422
- voice_off403
- speech_empty422
- speech_unsupported422
- speech_failed502
HTTP 401 · Website widgets
identity_token_invalid
The visitor's identity token is not valid.
What it means
The identity token has a bad signature or the wrong widget, or has expired. Tokens live at most 10 minutes.
What to do
Sign a fresh token on your server with the widget’s identity secret.
Can you retry it?
Example answer
{
"type": "https://docs.mydeepagents.com/errors/identity_token_invalid",
"title": "The visitor's identity token is not valid.",
"status": 401,
"code": "identity_token_invalid",
"request_id": "req_01jb8m4s2v7q9x3k5n6p8r0t2w"
}Build with us
Ready for your first call?
Early access is open. Tell us what you want your agents to do, and we will help you get your first key.