422 Unprocessable EntityRequest
INVALID_REQUEST
A field is missing or invalid Validation failed. When it happens
error.fields lists every field with a problem.How to fix it
error.fields: each entry names the field and what is wrong with it.
RetryingFix the request, then send it with a new key.How idempotency works
Example response
HTTP 422 Unprocessable Entity
{
"status": "failed",
"error": {
"code": "INVALID_REQUEST",
"message": "Some fields are missing or invalid.",
"doc_url": "https://developer.getreeds.co/errors/INVALID_REQUEST",
"fields": [
{
"field": "package.description",
"message": "Describe what is being sent."
},
{
"field": "dropoff.phone",
"message": "Enter a Nigerian mobile number."
}
]
}
}