Whenever a resource is created / updated a validation is done using a custom validator (ROA (Resource Oriented Architecture)). You can find below a sample example of error message you might receive:
{"error_code": 10010,
"error_description": "Friendly error description.",
"error_details": <link to this page>}