auth.session_invalid
No active session found; the cookie or JWT is missing or was rejected by the platform.
auth.session_invalid is returned on any route that requires authentication when the request carries no valid session cookie or JWT. This includes expired sessions, malformed tokens, and requests with no credentials at all.
The session cookie is absent, has expired, or the JWT failed verification. This can happen after a browser session expires, after a sign-out, or if the client sends a stale token.
Redirect the user to the sign-in page. After a successful sign-in a new session cookie is issued and subsequent requests will succeed.
{
"error": {
"code": "auth.session_invalid",
"message": "no active session",
"request_id": "req_01900000abc"
}
}