I’m trying to visit a site with the HTTP node but it gives 403 forbidden error. I can visit the site on my browser & curl works too but it doesn’t work on HTTP node. I have already set the user-agent so I don’t know why it I get forbidden error on HTTP node if curl works
You’re not misconfiguring anything inside n8n, the site is actively blocking requests from your server’s IP or treating it as a bot. To fix it:
Match your headers exactly, including case. Ensure the User-Agent, Accept, and other headers match what your browser or curl sends. Use n8n’s “lowercase headers” toggle to prevent header name mismatches.
Use a proxy or scraping API to route requests through a trusted IP. Services like ScraperBee, ScrapeNinja, or rotating residential proxies help bypass bot protection by masking or rotating the request origin
Optionally (idk if it is the case) whitelist your server’s IP with the target site if possible.