• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

The request signature we calculated does not match the signature you provided

New Here ,
Mar 29, 2023 Mar 29, 2023

Copy link to clipboard

Copied

I have researched this error everywhere.  I am using this https://pdf-services.adobe.io/assets to get the ready made uri for the call to AWS.  If I issue this in postman I get a 200.  If I take the exact same approach in code, I get the error listed in the title and a 403 error.  I am using a PUT, and as far as I can tell everything else is identical.  If I change one character of the signature in postman call I get exact same error.  Please help this is frustrating!

 

<Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>
<AWSAccessKeyId>ASIAWD2N7EVPH76T5FGM</AWSAccessKeyId>
<StringToSign>AWS4-HMAC-SHA256 20230329T160506Z 20230329/us-east-1/s3/aws4_request bb7eb9cce071555e8c2591a203acd3b54c6251436155ea16dbb9d6f281df4a34</StringToSign>
<SignatureProvided>2690325a30b45cff4b8d028d756d5ca7adec82acf3b4dd4c6e67d99d7eb5e59f</SignatureProvided>
<StringToSignBytes>41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 0a 32 30 32 33 30 33 32 39 54 31 36 30 35 30 36 5a 0a 32 30 32 33 30 33 32 39 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 62 62 37 65 62 39 63 63 65 30 37 31 35 35 35 65 38 63 32 35 39 31 61 32 30 33 61 63 64 33 62 35 34 63 36 32 35 31 34 33 36 31 35 35 65 61 31 36 64 62 62 39 64 36 66 32 38 31 64 66 34 61 33 34</StringToSignBytes>
<CanonicalRequest>PUT
TOPICS
PDF Extract API

Views

827

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 14, 2023 Apr 14, 2023

Copy link to clipboard

Copied

I am experiencing the same issue.

 

When trying to upload my PDF, to the "uploadUri" provided, I get the following error:

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message><AWSAccessKeyId>ASIAWD2N7EVPG5LFJ5MC</AWSAccessKeyId><StringToSign>AWS4-HMAC-SHA256
20230414T144803Z
20230414/eu-west-1/s3/aws4_request
a1bb42cacef146090935a9ed961c8cbb1aba9057721c5babccc18868dfae44fc</StringToSign><SignatureProvided>95beeabdd96707585e42f8ecf50ef59c8bb7ea97b73560441570ac567193a190</SignatureProvided><StringToSignBytes>41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 0a 32 30 32 33 30 34 31 34 54 31 34 34 38 30 33 5a 0a 32 30 32 33 30 34 31 34 2f 65 75 2d 77 65 73 74 2d 31 2f 73 33 2f 61 77 73 34 5f 72 65 71 75 65 73 74 0a 61 31 62 62 34 32 63 61 63 65 66 31 34 36 30 39 30 39 33 35 61 39 65 64 39 36 31 63 38 63 62 62 31 61 62 61 39 30 35 37 37 32 31 63 35 62 61 62 63 63 63 31 38 38 36 38 64 66 61 65 34 34 66 63</StringToSignBytes><CanonicalRequest>POST
/9c5776ac809444568eefbfad2c1620f0_48EB296163E63B920A495F89%40techacct.adobe.com/d24fbb44-1439-4825-80dc-639589ffda26
X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=ASIAWD2N7EVPG5LFJ5MC%2F20230414%2Feu-west-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20230414T144803Z&amp;X-Amz-Expires=3600&amp;X-Amz-Security-Token=FwoGZXIvYXdzEBgaDKd0H3KffHIyzK6s9CLUAbcb9Jkj0Br25YX%2Bc8tYjzyB9AkGRzpwtJFlgXyNOHeYpE%2BogNOMq3RIPnpADN42g1eDkifeV8B2%2Fa3KUv2wABUYPjnSlK%2Be%2FpBBgkbpHpqf%2BUTxe2SsQZaTlSUP8KtAJ92dAKr3DdmJ3Z3U0uyz%2FqbPg4bnjVeV0FkctA%2FtsZiWTiAX%2FPQd7NNeDC0tUFjhDWE23ZjaSYrXDwxJUiINdUiuc4ZeI0%2FBFDqiFj1qP3i9lwWzzjBR1%2FHPRs0%2F5wDo3LTjNkNOLDAUtXwQOKfOb0SrtnCNKPLM5aEGMi1ZiSIW0wkWuB9txvj2sgpj7vGJ%2FVz9SIMSKhck6mOlUvvHaj1BSxT74ynrS7Y%3D&amp;X-Amz-SignedHeaders=content-type%3Bhost
content-type:application/json
host:dcplatformstorageservice-prod-eu-west-1.s3-accelerate.amazonaws.com

content-type;host
UNSIGNED-PAYLOAD</CanonicalRequest><CanonicalRequestBytes>50 4f 53 54 0a 2f 39 63 35 37 37 36 61 63 38 30 39 34 34 34 35 36 38 65 65 66 62 66 61 64 32 63 31 36 32 30 66 30 5f 34 38 45 42 32 39 36 31 36 33 45 36 33 42 39 32 30 41 34 39 35 46 38 39 25 34 30 74 65 63 68 61 63 63 74 2e 61 64 6f 62 65 2e 63 6f 6d 2f 64 32 34 66 62 62 34 34 2d 31 34 33 39 2d 34 38 32 35 2d 38 30 64 63 2d 36 33 39 35 38 39 66 66 64 61 32 36 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 41 53 49 41 57 44 32 4e 37 45 56 50 47 35 4c 46 4a 35 4d 43 25 32 46 32 30 32 33 30 34 31 34 25 32 46 65 75 2d 77 65 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 33 30 34 31 34 54 31 34 34 38 30 33 5a 26 58 2d 41 6d 7a 2d 45 78 70 69 72 65 73 3d 33 36 30 30 26 58 2d 41 6d 7a 2d 53 65 63 75 72 69 74 79 2d 54 6f 6b 65 6e 3d 46 77 6f 47 5a 58 49 76 59 58 64 7a 45 42 67 61 44 4b 64 30 48 33 4b 66 66 48 49 79 7a 4b 36 73 39 43 4c 55 41 62 63 62 39 4a 6b 6a 30 42 72 32 35 59 58 25 32 42 63 38 74 59 6a 7a 79 42 39 41 6b 47 52 7a 70 77 74 4a 46 6c 67 58 79 4e 4f 48 65 59 70 45 25 32 42 6f 67 4e 4f 4d 71 33 52 49 50 6e 70 41 44 4e 34 32 67 31 65 44 6b 69 66 65 56 38 42 32 25 32 46 61 33 4b 55 76 32 77 41 42 55 59 50 6a 6e 53 6c 4b 25 32 42 65 25 32 46 70 42 42 67 6b 62 70 48 70 71 66 25 32 42 55 54 78 65 32 53 73 51 5a 61 54 6c 53 55 50 38 4b 74 41 4a 39 32 64 41 4b 72 33 44 64 6d 4a 33 5a 33 55 30 75 79 7a 25 32 46 71 62 50 67 34 62 6e 6a 56 65 56 30 46 6b 63 74 41 25 32 46 74 73 5a 69 57 54 69 41 58 25 32 46 50 51 64 37 4e 4e 65 44 43 30 74 55 46 6a 68 44 57 45 32 33 5a 6a 61 53 59 72 58 44 77 78 4a 55 69 49 4e 64 55 69 75 63 34 5a 65 49 30 25 32 46 42 46 44 71 69 46 6a 31 71 50 33 69 39 6c 77 57 7a 7a 6a 42 52 31 25 32 46 48 50 52 73 30 25 32 46 35 77 44 6f 33 4c 54 6a 4e 6b 4e 4f 4c 44 41 55 74 58 77 51 4f 4b 66 4f 62 30 53 72 74 6e 43 4e 4b 50 4c 4d 35 61 45 47 4d 69 31 5a 69 53 49 57 30 77 6b 57 75 42 39 74 78 76 6a 32 73 67 70 6a 37 76 47 4a 25 32 46 56 7a 39 53 49 4d 53 4b 68 63 6b 36 6d 4f 6c 55 76 76 48 61 6a 31 42 53 78 54 37 34 79 6e 72 53 37 59 25 33 44 26 58 2d 41 6d 7a 2d 53 69 67 6e 65 64 48 65 61 64 65 72 73 3d 63 6f 6e 74 65 6e 74 2d 74 79 70 65 25 33 42 68 6f 73 74 0a 63 6f 6e 74 65 6e 74 2d 74 79 70 65 3a 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0a 68 6f 73 74 3a 64 63 70 6c 61 74 66 6f 72 6d 73 74 6f 72 61 67 65 73 65 72 76 69 63 65 2d 70 72 6f 64 2d 65 75 2d 77 65 73 74 2d 31 2e 73 33 2d 61 63 63 65 6c 65 72 61 74 65 2e 61 6d 61 7a 6f 6e 61 77 73 2e 63 6f 6d 0a 0a 63 6f 6e 74 65 6e 74 2d 74 79 70 65 3b 68 6f 73 74 0a 55 4e 53 49 47 4e 45 44 2d 50 41 59 4c 4f 41 44</CanonicalRequestBytes><RequestId>8QPJJVBNKFKCKGEE</RequestId><HostId>451qYDcGNiYFR+4xWCSz7fCcDRSNVQCVAvMVa7g7C2dyEcEV75nAduJJz7UlFSigpVo3Bt9CeNw=</HostId></Error>

 

I don't know how to fix it? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 20, 2024 Sep 20, 2024

Copy link to clipboard

Copied

LATEST

Same here lately, anyone of you ever found a solution or workaround?

Regards,
André

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources