Errors
The API uses standard HTTP status codes. Error bodies follow NestJS's default shape:
Validation errors
When message is an array instead of a string, each entry describes one
invalid field. That shape comes from the request body's validation rules,
check it against the field types in the API Reference.
Check status before parsing the body
A non-2xx response still returns JSON, but it's the error shape above, not the resource shape you asked for. Check the status code first.