Field-Viewer API

All errors

payload.too_large

The request body is too large

HTTP status
413
Problem type
https://api.field-viewer.com/problems/payload.too_large
Catalogue
Generic (any operation)

What it means

The request body is larger than this operation accepts.

What to do

Send a smaller body. Files are never sent in a JSON body: request an upload ticket and upload the file to the URL it returns.

Example response

Errors use RFC 9457 application/problem+json. Match on code (stable forever), not on title or detail, which are localised.

HTTP/1.1 413
Content-Type: application/problem+json

{
  "type": "https://api.field-viewer.com/problems/payload.too_large",
  "title": "The request body is too large",
  "status": 413,
  "detail": "The request body is too large",
  "instance": "/v1/context",
  "code": "payload.too_large",
  "requestId": "req_01jcz3k8m4f6a9t2x7v5q0wbne"
}

Returned by

No operation declares this code in its contract. The API can return it for any request, for example from the request pipeline before an operation runs.