too_large
413 · Too large.
What it means
Section titled “What it means”The request is larger than one call can take: a file sent as an attachment is over 4 MB, or a delete in a batch would take more than 200 elements and relationships with it (a batch is one step, all or none, so its deletes must be small).
How to put it right
Section titled “How to put it right”For an attachment, send a smaller file (compress an image, or split a document); larger files can be attached in the app. For a batch, send that delete on its own (DELETE /v1/packages/{packageId} or /v1/elements/{elementId}): a large one answers 202 with a job that deletes it in the background. Or delete what’s inside it in smaller parts.
What the response looks like
Section titled “What the response looks like”{ "type": "https://docs.farkitect.com/api/errors/too-large", "title": "Too large", "status": 413, "detail": "A sentence about this request: what was wrong, and what would be accepted.", "code": "too_large", "requestId": "req_46075e91719e4bd0a9a4"}Branch on code, not on title or detail, which may be reworded. See Errors for how every error is shaped.