validation_failed
HTTP 422Some fields are invalid
When it happens
Required fields are missing or have the wrong type or format.
How to fix it
Read error.fields: each key is a field path and each value says what's wrong. Fix those and try again.
Example response
422
{
"error": {
"code": "validation_failed",
"message": "Some fields are invalid.",
"fix": "Read `error.fields`: each key is a field path and each value says what's wrong. Fix those and try again.",
"docs": "https://docs.mailpark.io/errors/validation_failed"
}
}