Validation Error
The request was well-formed but one or more fields failed validation.
At a glance
| Field | Value |
|---|---|
| HTTP status | 400 |
| Error code | VALIDATION_ERROR |
| Type URL | https://developer.fieldnation.com/error-codes/validation-error |
| Content-Type | application/problem+json |
| Retryable | false |
| Agent action | FIX_INPUT |
What it means
The request was well-formed but one or more fields failed validation.
When it is returned
- A required field was missing or empty.
- A field value violated a format, range, or enum constraint.
- A business rule rejected the combination of submitted values.
Troubleshooting
- Inspect the
errors[]array — each entry names the offending field and reason. - Compare the request payload against the endpoint's OpenAPI schema in the playground.
- Fix the listed fields and resubmit.
Example response
HTTP/1.1 400 Validation Error
Content-Type: application/problem+json{
"type": "https://developer.fieldnation.com/error-codes/validation-error",
"title": "Validation Error",
"status": 400,
"detail": "One or more fields failed validation.",
"code": "VALIDATION_ERROR",
"retryable": false,
"correlationId": "01J9X7Q3F6E2K8B1Z5C4M0V2HA",
"agent": {
"action": "FIX_INPUT"
},
"errors": [
{
"detail": "title is required.",
"pointer": "/title"
},
{
"detail": "assignee.id must be a positive integer.",
"pointer": "/assignee/id"
},
{
"detail": "pageSize must be between 1 and 100.",
"parameter": "pageSize"
}
]
}Related
Last updated on