Integrating Amazon S3 with Mendix

0
I have downloaded AWS Authenticator connector and AWSS3 module. I have created a microflow called  ACT_ConnectWithAWS in MyFirstmodule module (Attached below).      I am calling this microflow through navigation item.  When I click on the button which calls this microflow then I got an error which says: “An error occurred, please contact your system administrator”   In the console I got the 3 error messages listed below: 1.Failed to Get Object, Error No Such Key Exists The specified key does not exist. (Service: S3, Status Code: 404, Request ID: A6REN8T8EGDVBTFM, Extended Request ID: Ps4OL3s3MwYvIeEoZYeDW6Eh48CLaErNgLJk5S5ZSUTdZWiUUMncFnU1ODKdcPdjPVmyO/3iurI=) 2.An error has occurred while handling the request. [User 'Anonymous_e026f1bb-1c68-4f0c-bd61-7d408c171e32' with session id '18e3e6e7-XXXX-XXXX-XXXX-XXXXXXXX2796' and roles 'Administrator'] 3.An error occurred while executing an action of Atlas_Core.Atlas_Default.navigationTree3:  Error: An error occurred while executing an action of Atlas_Core.Atlas_Default.navigationTree3:      at http://localhost:8080/mxclientsystem/mxui/mxui.js?638167418162789996:68:130507     at we (http://localhost:8080/mxclientsystem/mxui/mxui.js?638167418162789996:24:6501)     at i (http://localhost:8080/mxclientsystem/mxui/mxui.js?638167418162789996:24:6402)     at x (http://localhost:8080/mxclientsystem/mxui/mxui.js?638167418162789996:66:5472)   How to resolve this? Am I doing something wrong in the microflow? 
asked
2 answers
0

The error says that the Key you passed doesnt exists in the bucket. 
Are you sure the bucket name you gave in the Create bucket activity really exists?

Can you check if the value you set to the Key attribute of the S3Object activity also exists in the bucket?

Also the Credentials you are using has the correct AWS IAM Policies attached to it? (to do the GetObject)

answered
0

Hi,

 

I will show you what I passed in the each activity:

 

1.In the Get Static Credentials activity, I am passing access key Id and secret access key (Screenshot below)

2.Next I created an object with bucket entity & created 2 attribute Name and region. See screenshot below:

 

3.Next I took create object activity and passed s3object entity. (See screenshot below)

4.Lastly in the getObject activity I have this:

 

The overall microflow looks like this:

 

But still I get those error messages? Am I doing this in a correct way? Please suggest?

answered