Invalid Filter
Code
code:invalid_filterstatus:400url:https://developers.glean.com/errors/invalid-filter
What It Means
A filter in the request is not valid for the endpoint or datasource scope.
Common Causes
- The filter field name is misspelled.
- The field is not supported for the requested datasource or endpoint.
- The filter value does not match the expected type or format.
How To Resolve
Client Actions
- Check the endpoint documentation for supported filters.
- Validate field names and values before sending the request.
- Use response
detailor field-levelerrorsto identify the offending filter.
Retry Guidance
Retry only after correcting or removing the invalid filter.
Example Response
{
"type": "https://developers.glean.com/errors/invalid-filter",
"title": "Invalid Filter",
"status": 400,
"detail": "Human-readable explanation specific to this occurrence.",
"code": "invalid_filter",
"documentation_url": "https://developers.glean.com/errors/invalid-filter",
"request_id": "req_7f8a9b0c1d2e"
}