How to complete the challenge POST /todos (422) description too long

Issue a POST request to /todos with a description longer than the maximum allowed length.

The response should be 422 Unprocessable Content and include a validation error explaining that the description exceeded the maximum length.

Keep the JSON syntax valid; the point of the challenge is entity validation, not malformed JSON.

Try it now

POST /todos with a long description to trigger 422
Experiment with this endpoint