What it means
field is not sortable on this collection.
How to handle it
Choose a sortable field from meta.allowed for this collection, or omit sort to use the default.
Wire contract
| Code | invalid_sort |
|---|---|
| Class | invalid_request |
| HTTP status | 400 |
| Meta keys | allowed |
| Raised | Yes |
The response uses the standard {"error": {…}} envelope. Branch on error.code, not the human-readable message. Preserve request_id when reporting a failure.