Errors
Validation failed
The `validation_failed` error: HTTP 400 Bad Request.
The request's parameters or body: errors lists each field.
| Field | Value |
|---|---|
code | validation_failed |
status | 400 Bad Request |
title | Validation failed |
Synq's APIs answer errors with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is validation_failed. Branch on code, never on title or detail: a code never changes once it ships, while the words may.
{
"type": "…/errors/validation_failed",
"title": "Validation failed",
"status": 400,
"code": "validation_failed"
}See every error code.