Ironfang Finance API problem type
payload_too_large
Payload too large. HTTP 413.
What it means
The body exceeds the size the operation accepts: 5 MiB for a document or a JSON input, 48 MiB for a report to verify.
What to do
Send a smaller body. Archives and compressed documents are not a way round the limit; they are refused.
What the response carries
typehttps://ironfang.uk/problems/payload_too_large, this page.status- Always 413 for this code.
codepayload_too_large. Stable: branch on this, not on the wording oftitleordetail.detail- What happened this time, safe to show to a person. It never carries invoice content.
request_id- The same value as the
X-Ironfang-Request-IDheader. Quote it to support. retry_after_seconds- Never present for this code.
outcome- Absent. This code is not a statement about any document.
Problems follow RFC 9457 and are served as application/problem+json. A validation finding is never a Problem: an invalid invoice is a successful response that lists its findings. See every problem type, the Finance guide and the OpenAPI contract.
