Skip to content

session_expired

The session cookie names a session that ended: 12 hours passed without a request, 7 days passed since sign-in, you signed out (here or everywhere), you switched org, or you were removed from the org.

HTTP 401 · authentication_error · not retryable

The session cookie names a session that ended: 12 hours passed without a request, 7 days passed since sign-in, you signed out (here or everywhere), you switched org, or you were removed from the org. The message says which.

Sign in again at /login. A new session gets new cookies.

HTTP 401 · session_expired
{
"error": {
"type": "authentication_error",
"code": "session_expired",
"message": "Your session ended after 12 hours without activity. Sign in again at https://app.deedglass.com/login.",
"param": null,
"request_id": "req_01j9zr3m5k8q2w7x4t6v0b1c9d",
"doc_url": "https://docs.deedglass.com/errors/session_expired"
}
}

The message is for a person and can get more exact over time: branch on type and code, never on the message.

SDK Raised as
TypeScript (@deedglass/sdk) AuthenticationError with code === "session_expired"
Python (deedglass) deedglass.AuthenticationError with .code == "session_expired"