From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Cloud Toolkits

cancel
Showing results for 
Search instead for 
Did you mean: 

Error: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.

I am trying to upload a file on my Amazon S3 bucket using the "Upload a file.vi" from the LabVIEW examples and using the Amazon S3 LabVIEW NI's APIs.

Unfortunately  I got this error message:

The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.

Any advice you can give me would be greatly appreciated.

Regards,

Maurizio Bollini.

Maurizio Bollini
Certified LabVIEW Architect
http://www.met.it
https://www.linkedin.com/in/mauriziobollini/
0 Kudos
Message 1 of 3
(7,250 Views)

Hi Maurizio,

Amazon has 2 authentication schemes, and AWS4-HMAC-SHA256 is one of them (this is also referred to as V4). The LabVIEW Interface for Amazon S3 is using V2, which is the other, older authentication scheme.

Amazon has decided to support only the newer, V4 version in regions deployed after January 30th, 2014.

You can read more about this here: Authenticating Requests (AWS Signature Version 4)

I guess you probably tried to upload your data to  the Frankfurt region, which is the only such new region.

Take a look at this list of the available S3 regions and their signature version support.

Unfortunately as V4 authentication is not supported in the LabVIEW Interface for Amazon S3, there is no other solution than using a different region to store your data.

Regards,

Peter

0 Kudos
Message 2 of 3
(6,318 Views)

Hi Peter,

you're right - I'm using the Frankfurt region which only support V4.

Thanks for your prompt and resolutive message.

Regards

Maurizio.

Maurizio Bollini
Certified LabVIEW Architect
http://www.met.it
https://www.linkedin.com/in/mauriziobollini/
Message 3 of 3
(6,318 Views)