Skip to content

Start building

Jump toidentity_token_invalid
All errors

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

HTTP 401 · application/problem+json
JSON
{
  "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.