You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I was trying this library because I thought it was a very good abstraction for uploading files to S3 :mindblown:
I followed the setup steps and when I tried to upload a file I got this error.
<Error>
<Code>InvalidRequest</Code>
<Message>
The upload was created using a crc32 checksum. The complete request must include the
checksum for each part. It was missing for part 1 in the request.
</Message>
<RequestId>XXW9QFD18YFBP7P3</RequestId>
<HostId>Z9OS15MhlDZu8GKp9tQI8PCRjuzSuMR33fyp6TlQE8drPbmLOyVxgF7uccB9W4Byad0Ge/RhMBI=</HostId>
</Error>
I did some research and found this announcement from AWS aws/aws-sdk-js-v3#6810 (comment)⚠️ It could be the cause of errors with Cloudflare R2.
Inspecting the requests that are sent in my example, I see that both have the required headers.
Hi! I was trying this library because I thought it was a very good abstraction for uploading files to S3 :mindblown:
I followed the setup steps and when I tried to upload a file I got this error.
I did some research and found this announcement from AWS aws/aws-sdk-js-v3#6810 (comment)⚠️ It could be the cause of errors with Cloudflare R2.
Inspecting the requests that are sent in my example, I see that both have the required headers.
x-amz-checksum-crc32: tycIGw==
x-amz-sdk-checksum-algorithm: CRC32
x-amz-checksum-crc32: PIUedw==
x-amz-sdk-checksum-algorithm: CRC32
The only one that do not includes them is the first request, the one that starts the MultiPartUpload
I'm putting it here in case someone else is in the same situation. 🙌
The text was updated successfully, but these errors were encountered: