cancel
Showing results for 
Search instead for 
Did you mean: 

S3 File as Email Attachment

jskrable
New Contributor III

Hello,

As part of an error handling pipeline, I am attempting to write a detailed error file to an S3 bucket, and then attach that file to the email notification at the end of the error pipeline to alert users of the issue.

I was able to do this successfully when writing the file to snaplogic’s native file system, but the email sender snap is failing consistently when attempting to grab the S3 file. The error message is:

Cannot find AWS access key ID in URL
Resolution:
Please enter valid URI path.
Reason:
URI syntax error.

For the attachments field, I have something like this:

s3:///buistintegration/test_errors_12082017.json

I tried adding the AWS Access Key and Secret in a few different combinations before the bucket name, with no luck.

Has anyone attempted this before? Is it possible?

Any input is appreciated.

Thanks,
Jack Skrable

5 REPLIES 5

jskrable
New Contributor III

Thanks Charlie. I’ve managed this for now by simply writing to SLDB, sending the message with the attachment, then deleting the file afterwards. I’ll let you know if we’d like to talk about a product enhancement down the line.

Best,
Jack