How to Resolve "Response code 403 (Forbidden)" and "ACTIVE_HANDLE" Errors when Downloading a Large HTTP payload to the /tmp Folder as per Pipedream Documentation?

This topic was automatically generated from Slack. You can find the original thread here.

Hi guys, I’m trying to follow the documentation for downloading a large HTTP payload to the /tmp folder (Triggers)
I’m doing stuff in the most straightforward possible way, but every time I’m encountering the following Error:

Response code 403 (Forbidden)
ACTIVE_HANDLE
This step was still trying to run code when the step ended. Make sure you promisify callback functions and await all Promises. (Reason: FSReqCallback, Learn more: https://pipedream.com/docs/code/nodejs/async/)

How do I get passed this and please update the documentation with something that actually works in order to retrieve the payload……

Hi , the 403 (Forbidden) is typically because you are missing the Authentication information to download the data. Would you mind checking again with the server that you’re connecting?

I don’t think so… I’m just trying to download from the URL created by Pipedream…

image.png

I think that url is expired, that’s why it has 403 error. You’ll need to redo to have a new url

Oh… Actually you might be right :sweat_smile:

Thanks!!!