Skip to main content
When a request body fails validation, the API returns 422 Unprocessable Entity with this shape. Each key in errors is the name of an invalid field, mapped to an array of messages explaining what to fix.
message
string

A human-readable summary of the validation failure.

errors
object

A map of field names to the list of validation error messages for that field.