invalid-filter
| Status | 400 |
| Title | Invalid filter |
| Code | invalid-filter |
| Type | https://docs.satellitedata.net/problems/invalid-filter |
Available now Lean v1 can return this problem.
Meaning
Section titled “Meaning”A CQL2 filter cannot be used: in lean v1 because CQL2 is not available at all, and later because it cannot be parsed or uses a property that is not queryable.
Likely causes
Section titled “Likely causes”- In lean v1, any
filterorfilter-langin a search or item list. - Later, a syntax error in CQL2 text or JSON, or a property not listed by
GET /v1/collections/{collectionId}/queryables.
Check the queryables for the collection and filter only on those, such as datetime, platform and eo:cloud_cover. In lean v1, use the query extension instead: {"eo:cloud_cover": {"lte": 20}}.
Example
Section titled “Example”{ "type": "https://docs.satellitedata.net/problems/invalid-filter", "title": "Invalid filter", "status": 400, "detail": "A CQL2 `filter` cannot be used: in lean v1 because CQL2 is not available at all, and later because it cannot be parsed or uses a property that is not queryable.", "instance": "/v1/...", "code": "invalid-filter", "requestId": "01JQ7Z3M8R5V2W6X9Y0A1B2C3D"}The detail above is a placeholder; the real one names the value at fault.
See Errors for the members every problem carries.