n8n Version 1.74.3
Manual Execution
Self Hosted and running via Docker.
I’m performing an HTTP request to download a PDF file. For some reason some links aren’t downloading while others do. I’ve added a lot of headers, redirects etc but nothing solves it. When I make the get request in Postman it works but in n8n it isn’t.
Link that isn’t working: https://bannermansbatch.com/wp-content/uploads/2023/07/Head-Hunter-COA.pdf
Exampleink that works: https://www.flowerhouseny.com/wp-content/uploads/2024/09/FH0683-Cap-Thai-Indoor-Flower-3.5g.pdf
n8n
January 21, 2025, 2:31pm
2
It looks like your topic is missing some important information. Could you provide the following if applicable.
n8n version:
Database (default: SQLite):
n8n EXECUTIONS_PROCESS setting (default: own, main):
Running n8n via (Docker, npm, n8n cloud, desktop app):
Operating system:
nickv
January 21, 2025, 3:30pm
3
@adamchu22 what happens when you run it with no headers and no auth (and no options)?
I added the headers because calling the pdf link didn’t work without them. Thought it might help.
bartv
January 29, 2025, 7:33pm
5
I suspect that the non-working site has some measures in place to prevent hotlinking.
In the end I just opted to add a timeout and if it fails or hits the timeout I use an API call to Firecrawl instead.
1 Like
system
Closed
May 11, 2025, 6:49pm
7
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.