Docs

Cookie errors

An index of Clerk errors related to cookies.

MissingClaims

Signifies an error when token is missing claim.

{
  "shortMessage": "<invalidCookieMessage>",
  "longMessage": "The token is missing the following claims: <claims>",
  "code": "cookie_invalid_code"
}

Signifies an error when cookie is invalid.

{
  "shortMessage": "The provided cookie is invalid.",
  "code": "cookie_invalid_code"
}

InvalidRotatingToken

Signifies an error when rotating token does not match the client's rotating token.

{
  "shortMessage": "<invalidCookieMessage>",
  "longMessage": "The client's rotating key does not match the given one <token>",
  "code": "cookie_invalid_code"
}

Feedback

What did you think of this content?

Last updated on