Skip to content

payload_too_large

The request body is larger than the route's limit: 512 KiB (524,288 bytes) for order writes, 1 MiB (1,048,576 bytes) for other routes. Requests above the gateway limit of 10 MiB may be rejected before the API can return a problem document.

Updated

HTTP status 413. An API key request can get this code.

The request body is larger than the route's limit: 512 KiB (524,288 bytes) for order writes, 1 MiB (1,048,576 bytes) for other routes. Requests above the gateway limit of 10 MiB may be rejected before the API can return a problem document.

Recovery

Read the limit in detail and reduce the body size. Send only the documented fields. An order with 20 prescriptions is far below the limit. Nothing was created.

Branch on code, not on the text of detail. Give Affinity the requestId when you report a problem.

All error codes

Send feedback

Don't include patient information.

Type to search…

↑↓ navigate ↵ select Esc close