Skip to main content

RequestEntityTooLarge

Andromeda answers 413 with the problem type https://uri.etsi.org/ngsi-ld/errors/RequestEntityTooLarge. The request is well formed, but it carries more than one of the broker's size caps allows. This type is Andromeda's own. The specification lists 413 in its HTTP binding but gives it no error type, and reporting an oversized body as BadRequestData would send your code down the wrong path. See Andromeda's own types.

When this comes back​

Every cap here is Andromeda's own, set under request_limits in the configuration, and the detail names the one you hit.

  • The body is over request_limits.max_body (64 MiB by default).
  • The request holds more JSON values than request_limits.max_json_values (4,000,000 by default).
  • One entity holds more JSON values than request_limits.max_entity_json_values (1,000,000 by default), counted on the expanded document and on what the write stores. After the limit is lowered, an entity already over it can still be shrunk or rewritten at its size, but not grown.
  • A written geometry holds more positions than request_limits.max_geometry_positions (1,000,000 by default). The same limit on a query, subscription or registration geometry answers TooComplexQuery instead.