Multipart uploads fails in certain situations, gives no comprehensive error message
Hi there! Working on an archiving function for R2 using Workers. I have attached the code for anyone willing to replicate.
Sometimes, the function works without error (or rather, with certain file configurations), but other times it fails upon trying to complete the multipart upload. I have attached the logs for both a success case and a error case. Can anyone more savvy see any reason for this failure? This has had me scratching my head all day, trying to both brain code and vibe code the issue away, but to no avail. Thank you for your time! :MeowHeartCloudflare:
Sometimes, the function works without error (or rather, with certain file configurations), but other times it fails upon trying to complete the multipart upload. I have attached the logs for both a success case and a error case. Can anyone more savvy see any reason for this failure? This has had me scratching my head all day, trying to both brain code and vibe code the issue away, but to no avail. Thank you for your time! :MeowHeartCloudflare:
error_logs.txt8.55KB
success_logs.txt7.69KB
