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:
1 Reply
Anyone finding this post in the future: My issue was that the parts were different size. After making them the EXACT same size, no issues are arising.