GebSecure Docs v0.1.0

Reference · Error codes

Error: payload_too_large

The request body exceeds the size limit (2 MiB) and was refused before parsing (HTTP 413).

HTTP 413 · problem type: https://docs.gebsecure.com/errors/payload_too_large · title: payload_too_large

Common causes#

  • Sending large documents or binary content inline, for example a whole file as content to POST /v1/inspect.

What to do#

  • Split the content, or send a reference instead of the bytes.
  • Do not retry the same request: it will be refused again.

In the SDKs#

The SDKs raise their generic API error type for payload_too_large.

Every error response is RFC 9457 application/problem+json; see the error model.