Skip to main content

R2 connecting error

Hi, I have connected R2 with my community, but everytime I download the file from R2, I got this massage:

Could you guys give me some idea how to handle this?

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<script/>
<Code>SignatureDoesNotMatch</Code>
<Message>The request signature we calculated does not match the signature you provided. Check your secret access key and signing method.</Message>
<StringToSign>AWS4-HMAC-SHA256 20250218T040640Z 20250218/us-east-1/s3/aws4_request 713278ed7c7015064b7c97fc12fddcea6cd86f6cec1b5edba8da9a82bebed607</StringToSign>
<StringToSignBytes>41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 0a 32 30 32 35 30 32 31 38 54 30 34 30 36 34 30 5a 0a 32 30 32 35 30 32 31 38 2f 75 73 2d 65 61 73 74 2d 31 2f 73 33 2f 61 77 73 34 5f 72 65 71 75 65 73 74 0a 37 31 33 32 37 38 65 64 37 63 37 30 31 35 30 36 34 62 37 63 39 37 66 63 31 32 66 64 64 63 65 61 36 63 64 38 36 66 36 63 65 63 31 62 35 65 64 62 61 38 64 61 39 61 38 32 62 65 62 65 64 36 30 37</StringToSignBytes>
<CanonicalRequest>GET /fluentcom-5f628a71114360323230619383ba582f-fluentcom-LS-%EB%B9%85%EB%8D%B0%EC%9D%B4%ED%84%B0-%EC%8A%A4%EC%BF%A8.zip X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=6788ebc31fd522d0aeeb2b2c3b9f3329%2F20250218%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250218T040640Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host host:statple-community.b9122db8276d6e3cc26341739f6ab54c.r2.cloudflarestorage.com host UNSIGNED-PAYLOAD</CanonicalRequest>
<CanonicalRequestBytes>47 45 54 0a 2f 66 6c 75 65 6e 74 63 6f 6d 2d 35 66 36 32 38 61 37 31 31 31 34 33 36 30 33 32 33 32 33 30 36 31 39 33 38 33 62 61 35 38 32 66 2d 66 6c 75 65 6e 74 63 6f 6d 2d 4c 53 2d 25 45 42 25 42 39 25 38 35 25 45 42 25 38 44 25 42 30 25 45 43 25 39 44 25 42 34 25 45 44 25 38 34 25 42 30 2d 25 45 43 25 38 41 25 41 34 25 45 43 25 42 46 25 41 38 2e 7a 69 70 0a 58 2d 41 6d 7a 2d 41 6c 67 6f 72 69 74 68 6d 3d 41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 26 58 2d 41 6d 7a 2d 43 72 65 64 65 6e 74 69 61 6c 3d 36 37 38 38 65 62 63 33 31 66 64 35 32 32 64 30 61 65 65 62 32 62 32 63 33 62 39 66 33 33 32 39 25 32 46 32 30 32 35 30 32 31 38 25 32 46 75 73 2d 65 61 73 74 2d 31 25 32 46 73 33 25 32 46 61 77 73 34 5f 72 65 71 75 65 73 74 26 58 2d 41 6d 7a 2d 44 61 74 65 3d 32 30 32 35 30 32 31 38 54 30 34 30 36 34 30 5a 26 58 2d 41 6d 7a 2d 45 78 70 69 72 65 73 3d 39 30 30 26 58 2d 41 6d 7a 2d 53 69 67 6e 65 64 48 65 61 64 65 72 73 3d 68 6f 73 74 0a 68 6f 73 74 3a 73 74 61 74 70 6c 65 2d 63 6f 6d 6d 75 6e 69 74 79 2e 62 39 31 32 32 64 62 38 32 37 36 64 36 65 33 63 63 32 36 33 34 31 37 33 39 66 36 61 62 35 34 63 2e 72 32 2e 63 6c 6f 75 64 66 6c 61 72 65 73 74 6f 72 61 67 65 2e 63 6f 6d 0a 0a 68 6f 73 74 0a 55 4e 53 49 47 4e 45 44 2d 50 41 59 4c 4f 41 44</CanonicalRequestBytes>
<SignatureProvided>315cf4c824d20cbddf215faa09fa1d62392d8cf76f5dc990d92f1b83028ca9ae</SignatureProvided>
</Error>