ERR-1002 · Validation failed
Chimlet read the JSON but could not accept one or more fields.
HTTP 422All error codes
Possible causes
- A required field is missing, an unsupported field was sent, or a field has the wrong type or value.
How to fix it
- Read evidence.violations to find the affected field. Compare its value with the endpoint schema before retrying.
Example response
JSON
{
"type": "urn:chimlet:problem/ERR-1002",
"title": "Validation failed",
"status": 422,
"detail": "One or more request fields could not be accepted.",
"code": "ERR-1002",
"instance": "/problem-occurrences/<request-id>",
"docs_url": "https://docs.chimlet.app/api/errors/err-1002/",
"evidence": {
"violations": [
{
"reason": "invalid_format",
"detail": "Enter a workspace name of 1 to 160 UTF-8 bytes.",
"source": {
"body": {
"pointer": "/name"
}
}
}
]
}
}