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
What happened
Section titled “What happened”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.
What to do
Section titled “What to do”Sign in again at /login. A new session gets new cookies.
Example
Section titled “Example”{ "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.
In the SDKs
Section titled “In the SDKs”| SDK | Raised as |
|---|---|
TypeScript (@deedglass/sdk) |
AuthenticationError with code === "session_expired" |
Python (deedglass) |
deedglass.AuthenticationError with .code == "session_expired" |