Skip to main content

Internal Error

Code

  • code: internal_error
  • status: 500
  • url: https://developers.glean.com/errors/internal-error

What It Means

The API encountered an unexpected error while processing the request.

Common Causes

  • A transient server-side problem occurred.
  • The request triggered a condition the API could not complete.

How To Resolve

Client Actions

  • Retry once or twice with backoff if the operation is safe to retry.
  • Record the request_id for support if the error persists.

Admin Actions

  • Share the request_id, timestamp, endpoint, and high-level request context with support.

Retry Guidance

Retry cautiously with backoff. Do not retry indefinitely.

Example Response

{
"type": "https://developers.glean.com/errors/internal-error",
"title": "Internal Error",
"status": 500,
"detail": "Human-readable explanation specific to this occurrence.",
"code": "internal_error",
"documentation_url": "https://developers.glean.com/errors/internal-error",
"request_id": "req_7f8a9b0c1d2e"
}