invalid_session
Session expired or invalid · HTTP 401
What causes this
The session token is malformed or no longer valid. Sessions are also invalidated deliberately by a password reset, which signs out every existing session.
How to fix it
Log in again. If you are calling the API from a server, use an API key rather than a session — sessions are for the console.
What the response looks like
{
"error": {
"code": "invalid_session",
"status": 401,
"message": "…",
"hint": "…",
"request_id": "req_…",
"docs_url": "https://cloud.ngentix.ai/docs/errors/invalid_session"
}
}
Quote the request_id if you contact support — it identifies your exact request in our logs.