{"version":"2.1.273","anchor":"upload-asset-size-limit-error-now-reports-the-actual-file-si","canonical_anchor":"upload-asset-size-limit-error-now-reports-the-actual-file-si","heading":"upload_asset size-limit error now reports the actual file size","tier":"notice","area":"Artifacts","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.273\/e\/upload-asset-size-limit-error-now-reports-the-actual-file-si","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.273","markdown":"### upload_asset size-limit error now reports the actual file size\n\nupload_asset size-limit errors now include the actual file size in bytes\n\n**What**\n\nWhen the Artifact tool's `upload_asset` rejects a file for being too large, the error it throws now includes a `sizeBytes` field carrying the exact byte size of the file that was rejected, in addition to the existing error message.\n\n**Why**\n\nThis gives more precise information about why an upload failed, useful for understanding exactly how far over the limit a file was rather than just seeing a generic size-limit message.\n\n- Area: Artifacts\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5"}