Error response following RFC 9457, extended with code and documentation_url for machine-readable classification and self-service remediation.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
type |
str | ✔️ | URI identifying the error type. | https://developers.glean.com/errors/invalid-cursor |
title |
str | ✔️ | Short, human-readable summary of the error. | Invalid Pagination Cursor |
status |
int | ✔️ | HTTP status code mirrored from the response. | 400 |
detail |
str | ✔️ | Human-readable explanation specific to this occurrence. | The provided cursor has expired. Start a new search to get a fresh cursor. |
code |
models.PlatformProblemDetailCode | ✔️ | Stable machine-readable error code. | invalid_cursor |
documentation_url |
Optional[str] | ➖ | Direct URL to documentation for this error code. | https://developers.glean.com/errors/invalid-cursor |
request_id |
str | ✔️ | Platform-generated request ID for support correlation. | req_7f8a9b0c1d2e |
errors |
List[models.PlatformProblemDetailError] | ➖ | Field-level validation problems, one entry per offending field. |