request_too_large
Request too large. The request body is larger than 1 MiB.
| HTTP status | 413 |
| Type | invalid_request_error |
| Code | request_too_large |
| Can retrying help? | No. The same request gets the same answer until you change it or fix the cause. |
| Charged? | No. This refusal is free. |
What to do
Section titled “What to do”Upload large files with POST /v1/uploads, or import them from a URL with POST /v1/assets.
Example
Section titled “Example”{ "error": { "type": "invalid_request_error", "code": "request_too_large", "message": "The request body is larger than 1 MiB.", "param": null, "doc_url": "https://docs.halationlab.ai/errors/request-too-large/", "request_id": "req_01JD3Y5RJ6M3XW6J8K2N4P7Q9T" }}See Errors for the error shape and how to handle errors in general, and Billing outcomes for what every outcome costs.