Errors
Payload too large
The `payload_too_large` error: HTTP 413 Content Too Large.
An upload larger than the route takes: detail says how large.
| Field | Value |
|---|---|
code | payload_too_large |
status | 413 Content Too Large |
title | Payload too large |
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 payload_too_large. Branch on code, never on title or detail: a code never changes once it ships, while the words may.
{
"type": "…/errors/payload_too_large",
"title": "Payload too large",
"status": 413,
"code": "payload_too_large"
}See every error code.