Hi @Stanley Yau , I understand that you're trying to upload a large file (8GB) into Azure Storage Blob using SAS URL. It failed with "RequestBodyTooLarge" error.
Azure Blob Storage Maximum Blob Size lists out maximum blob size via single write operation (via Put Blob) = 5000 MiB if you're using Version 2019-12-12 and later. It's consistent with your observation: "the 413 response indicates 5G".
By default (if you don't specify blob type or if you create from Azure Portal), Azure Storage Account will have containers with block blob type. To upload a large file more than 5GB, write a set of blocks via the Put Block operation and then commit the blocks to a blob with the Put Block List operation.
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.