file_too_large
HTTP Status: 422 Category: Media
When you see this
Declared size_bytes exceeds the asset-type's cap. The presigned URL would have been rejected at the bucket layer.
How to fix it
Check the per-asset-type size cap on the endpoint reference page, compress / transcode the asset, then retry with the new size_bytes value.
Example response
{
"error": {
"code": "file_too_large",
"message": "Declared size_bytes exceeds the asset-type's cap. The presigned URL would have been rejected at the bucket layer.",
"hint": null,
"doc_url": "https://docs.valara.cloud/api-reference/errors/file_too_large",
"request_id": "req_01H...",
"details": {
"errors": [],
"field_count": 0
}
}
}