Authorization mechanism not supported - "Please use AWS4-HMAC-SHA256"
See original GitHub issueHi there,
I’ve gotten to the step where I enter the Bucket name, path (blank), AWS access key ID, and AWS secret key into the dialog box on the google sheet. However, when I click save, the page hangs with the button showing “Saving”, and nothing occurs.
In the Chrome developer tools, I see the following error logged:
665147591-mae_html_user_bin_i18n_mae_html_user.js:42
Uncaught Error: AWS Error - InvalidRequest: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
at S3Request:184 (S3:4) 38692e5d-4673-4c76-8733-0d4f8f1a0aa0
at S3:146 (S3:4) a1279393-c26a-481c-9557-516ab8f2ac22
at publish (Code:71) (Publish sheet to S3:20) 744867ab-df1e-44d5-aa49-4744c8b83522
at updateConfig (Code:100) (Publish sheet to S3:20) 744867ab-df1e-44d5-aa49-4744c8b83522
I think I’ve followed your instructions correctly and set up everything I need to on the S3 side. Any idea on how to get around this error?
Thanks! Jeffrey
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
The authorization mechanism you have provided is not ...
I get an error AWS::S3::Errors::InvalidRequest The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
Read more >The authorization mechanism you have provided is not ...
The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. S3 documentation describes how to use Sig v4 in ...
Read more >On some S3 regions, pin() gets "The authorization mechanism ...
On some S3 regions, pin() gets "The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256" #233.
Read more >The authorization mechanism you have provided is ... - YouTube
s3 #awssdk InvalidRequest: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
Read more >I got error like "The authorization mechanism you have ...
I got error like "The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256." to avoid this add.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I ended up having to scrap the S3 binding originally used with this add-on. I was adapting the add-on for use Google Forms, rather than Sheets anyway. I used this repo instead and replaced the code under the ‘upload to s3’ comment on line 63 with a call to wrapper function that looked like this:
In the context of this repo, the function call would look like:
Hope this helps someone else!
@Tetsunori-Mitarai I tried both your lib and patch-1 but still got same error: