Error Responses
All monastery model operations return errors in the JSON API error specification format. Error object(s) are always returned in an array.
Example
[{
"detail": "Value needs to be at least 10 characters long.",
"status": "400",
"title": "address.city",
"meta": {
"field": "city",
"model": "user",
"rule": "minLength"
}
}]
Error on an array item
[{
"detail": "The title is required.",
"status": "400",
"title": "comments.0.title",
"meta": {
"field": "title",
"model": "user",
"rule": "required"
}
}]