LabVIEW Cloud Toolkits

cancel
Showing results for 
Search instead for 
Did you mean: 

AWS S3

Solved!
Go to solution

Hello,

 

Using the "NI Cloud Tookit for AWS" I get "Access Denied" error 412001:

Spoiler

NI_AWS_Core.lvlib:HTTP Request.lvclass:Create Error Cluster from Response Body.vi<ERR>
Access Denied


<b>Complete call chain:</b>
NI_AWS_Core.lvlib:HTTP Request.lvclass:Create Error Cluster from Response Body.vi
NI_AWS_Core.lvlib:HTTP Request.lvclass:Check Error and Get Call Result.vi
NI_AWS_Core.lvlib:HTTP Request.lvclass:Send API Request v4.vi
NI_AWS_Core.lvlib:HTTP Request.lvclass:Make HTTP Request v4.vi:480001
NI_AWS_Core.lvlib:HTTP Request.lvclass:Low-Level HTTP Request AWS v4.vi:4270001
NI_AWS_S3.lvlib:Bucket.lvclass:List Buckets.vi
unit_test_aws_s3.vi

Using "LabVIEW Interface for S3" I get similar. Error 400100 

Spoiler

Error 400100 occurred at LV Interface for Amazon S3.lvlib:List Buckets.vi->unit_test_aws_s3.vi

Possible reason(s):

AccessDenied
Access Denied

I have an IAM user with groups and policies set up per here:

https://forums.ni.com/t5/LabVIEW-Cloud-Toolkits/Amazon-S3-LabVIEW-examples-are-not-working-with-my-s...

 

Though I can't for the life of me find any examples for either set of libraries. I don't see documentation either.

 

I also don't see setting the region, which seems important since S3 is regional by default.

 

How do I get the S3 Hello World working here?

 

Cheers,

Joe

Message 1 of 3
(1,553 Views)

I started poking around in the subvi's and found that I cannot follow the flow with the debugger. I lose the trail when 

jhgorse_0-1678246368500.png

calls

jhgorse_1-1678246395680.png

The LL HTTP Request AWS v4.vi is entirely blank. Neither breakpoints or probes work.

 

What is going on here...

0 Kudos
Message 2 of 3
(1,529 Views)
Solution
Accepted by topic author jhgorse

Editing Make HTTP Request v4.vi to change the Region to what it is supposed to be causes this to work.

 

Boy wouldn't it be nice if, like 99% of all other LabVIEW libraries, this was part of some sort of INIT block.

 

Onward.

 

Cheers,

Joe

Message 3 of 3
(1,527 Views)