What are the Pipedream IP's needed for whitelisting to avoid errors when making HTTP requests using Node.js?

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

What is the Pipedream IP’s for white list?

I think I nee to white list the IP’s because when I’m making an HTTP request using Node.js then I’m getting an error

Outbound Pipedream HTTP requests can originate from anywhere in the us-east-1 region in AWS.

If you need to pin requests to a specific IP address for allowing it to access firewalled databases or APIs, you can leverage VPCs to allocate workflows to a specific network and static IP:

Hi, what can be the problem that when I use the Webhook module to make a GET request then it works fine but when I try the same thing from a Node.js step then I get a FORBIDDEN error?

Unfortunately I can’t answer that question because that error is emitted from the API, database or webpage you’re attempting to connect with.

I recommend reading their documentation to help find an answer to that question. But typically, it’s because your request isn’t correctly authenticated, or your keys don’t have authorization to view or modify that resource.

I found out, the other server blocked the call that came from the Node.js for some reason but because he thought that this is a bot

Glad you found the cause. Sometimes SDK’s add custom headers to identify themselves, whereas the default axios scaffolding will use a Pipedream specific User Agent header that the API won’t accept.

That’s very rare, but it can happen for services that are susceptible for scraping.