This topic was automatically generated from Slack. You can find the original thread here.
I am getting this error in the download_file_to_tmp step:
This topic was automatically generated from Slack. You can find the original thread here.
I am getting this error in the download_file_to_tmp step:
Hi Jake - are you sure that URL you’re using for the Download File URL field is publicly accessible? Have you tried opening that URL in an incognito browser to be sure?
it’s the url provided by Pipedream for {{steps.trigger.event.attachments[0].contentUrl}}
Got it, that’s that path to the variable, but have you tried copying the actual URL and pasting it into an incognito browser window?
Just to make sure that the URL itself is publicly accessible, because the workflow won’t be logged in like your browser might be.
I’m not sure what your URL points to, but this could be a potential causes.
ok that fails. in that case what link or part of the original email available should i use
if i have to get the attachment and the url for the file provided by https://pipedream-emails.s3.amazonaws.com doesn’t work, what will for this download_file_to_tmp step?
Ah I’m sorry, I didn’t notice that this content was from an email attachment.
Are you reading attachments from the native Pipedream Email trigger?
yes
That url is only valid for a limited time, so you’ll need to email another attachment.
wait so if i wanted to test and make this work on previous emails, how should i go about this because i don’t control the account that sends these in
You’ll have to have them re-send it, we only store the attachment for a limited time If you want to keep it around longer I would suggest saving it into a file store
got it working thank you
PS for anyone else that runs into this in the future.
We’ve added a troubleshooting section on how to handle Token Expired errors from these expired presigned S3 URLs: Triggers
Also, you can simply click the workflow link here to copy a new workflow to your account that shows how to download an email attachment to /tmp: