Invalid Parameter
Code
code:invalid_parameterstatus:400url:https://developers.glean.com/errors/invalid-parameter
What It Means
A request parameter or field is present but has an invalid value.
Common Causes
- A field has the wrong type, format, or enum value.
- A string, list, or number is outside the allowed range.
- A field-level validation error is included in the
errorsarray.
How To Resolve
Client Actions
- Use the response
detailand any field-levelerrorsto identify the invalid value. - Validate request values before sending them to the API.
Retry Guidance
Retry only after correcting the invalid value.
Example Response
{
"type": "https://developers.glean.com/errors/invalid-parameter",
"title": "Invalid Parameter",
"status": 400,
"detail": "Human-readable explanation specific to this occurrence.",
"code": "invalid_parameter",
"documentation_url": "https://developers.glean.com/errors/invalid-parameter",
"request_id": "req_7f8a9b0c1d2e"
}