Unprocessable Query
Code
code:unprocessable_querystatus:422url:https://developers.glean.com/errors/unprocessable-query
What It Means
The API understood the request shape but could not process the query semantics.
Common Causes
- The query is unsupported, ambiguous, or cannot be translated for the endpoint.
- Query-related options conflict with each other.
How To Resolve
Client Actions
- Simplify or rewrite the query.
- Check endpoint documentation for supported query features.
Retry Guidance
Retry only after changing the query.
Example Response
{
"type": "https://developers.glean.com/errors/unprocessable-query",
"title": "Unprocessable Query",
"status": 422,
"detail": "Human-readable explanation specific to this occurrence.",
"code": "unprocessable_query",
"documentation_url": "https://developers.glean.com/errors/unprocessable-query",
"request_id": "req_7f8a9b0c1d2e"
}