Downloading a file from Amazon S3 Bucket
I am trying to download a file from an Amazon S3 bucket.
I have created an Amazon S3 connector in iPaaS and configured AWS Signature credentials. When I use the connector and credentials in a flow I can do some actions. Get Bucket Region works, List Objects works, List Objects V2 works. But if I try to do a Get Object I get the following error:
Re-authorization: Cannot re-authorize credentials. Unknown: . Initial response: {"?xml":{"@version":"1.0","@encoding":"UTF-8"},"Error":{"Code":"SignatureDoesNotMatch","Message":"The request signature we calculated does not match the signature you provided. Check your key and signing method.
How do I download a file from an S3 bucket?
Answers (2)
Hi Cory,
This particular error message can have a number of causes - but the first thing I would suggest is to ensure that the user related to the access key/secret key pair in your credential has "s3:GetObjectAcl" or "READ_ACP" permissions. If you've confirmed the user in question has appropriate permissions, let me know and I'll get a ticket opened and we can dig more deeply into it
Best,
Mark Medaugh
Sr. Technical Consultant
• GetBucketLocation
• GetObject
• DeleteObject
• PutObject
• ListBucket
I am told it is not possible to have the permissions changed for this user - Cory Morgan-Berg Thu 12/14/23 3:27 PM
Do you have any suggestions on how I could download files from an S3 bucket? - Cory Morgan-Berg Tue 1/2/24 2:40 PM
Hello Cory,
It is nice to meet you. I am one of the new iPaaS consultants at TDX. I was working with one of your colleagues on this and wanted to post the update here in case others stumble upon it. We believe this issue should now be resolved. There was a problem with our standard Get Object was encoding the / character in path names.
I hope this helps. Please let me know if you have any additional questions we can assist with.
Best,
-Brevan Jorgenson
When I try the Get Object action I am still getting the error message:
Re-authorization: Cannot re-authorize credentials. - Cory Morgan-Berg Fri 7/26/24 5:18 PM
No, there is nothing you need to do to get this new version of the connector; however, upon your report of it not functioning, I was able to identify a bug related to the spacing of characters in the name of your object. I am working with our engineers to resolve that. I will keep you updated as I hear more from them.
Please let me know if there are any other questions I can assist with.
Best,
-Brevan Jorgenson - Brevan Jorgenson Sat 8/3/24 2:58 PM