Error code
invalid_filters
Use the v2 filter grammar. One or more filters used invalid ref syntax, scalar values, or ranges.
What happened
The failing filter paths are listed in details[]. Entity filters such as make take complete refs, while scalar filters such as year.min take numbers. Free text is not accepted on listing filters.
Do this next
Replace free text with refs from GET /v2/entities/resolve, correct every invalid scalar or range, and retry the same listings operation.
Corrected request
bash
curl "https://api.cardog.app/v2/listings/search?make=make:tesla&year.min=2022&limit=5" \
-H "x-api-key: $CARDOG_API_KEY"