The SHA-256 checksum you specified did not match what we received. You provided a SHA-256 checksum with value: ba0ae0f180f859d2cbcfd8802b5a262bf09cc400a7a752768375072c250b1092. Actual SHA-256 was: ba0ae0f180f859d2cbcfd8802b5a262bf09cc7e0a7a752768375072c250b1092
What is the issue or error you’re encountering
The checksum is valid (even in the error message), but R2 rejects it
I’m using JavaScript SDK version 3.726.1, and other bucket operation doesn’t have any problem. If I don’t provide SHA256 checksum, the PutObject command also succeeded.
Nope. The error message showed that the checksum are the same. Besides, the checksum should be in base64-encoded format, not the hex one. That’s impossible for leading or trailing space.