# `JSONAPI.Exceptions.InvalidQuery`
[🔗](https://github.com/beam-community/jsonapi/blob/main/lib/jsonapi/exceptions.ex#L2)

Defines a generic exception for when an invalid query is received and is unable to be parsed nor handled.

All JSONAPI exceptions on index routes return a 400.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
