validation_failed
The request was understood and its content was rejected.
What to do
Read the violations array - each entry names the field and what is wrong with it.
Should you try again?
No. The same request will fail the same way. Change something first.
How you'll see it
{
"type": "https://www.obraledger.com/api/errors/validation_failed",
"detail": "..."
}
The body also carries a title
and a status. The
detail is written for a person
and we may reword it, so don't match on it. Some failures also carry a
violations list naming the fields
at fault.
Where it comes from
4 of the 10 calls can return this.
- post Create a contact Contacts
- patch Update a contact Contacts
- post Create a product Products
- patch Update a product Products
Building something and stuck? Tell us - we'd rather hear it than have you guess.