Describe your problem
GET request returns a blank binary file but only when using version 0.209.4. I downgraded to version 0.165.0 and the binary file was returned as normal. See screenshots below
Just a blank binary file for version 0.209.4 but no actual errors.
A webhook triggers the workflow to download an invoice and then email it. The only issue is the HTTP node. All other nodes are working fine hence their exclusion.
Output for each version
Version 0.165.0 Node & Response. Working as expected.
File has all the expected data
Version 0.209.4. Broken with size 0B
Binary returned is empty. Note: I have to tick the
box to overwrite the 302 response code I get otherwise.
Please advise on how to fix this so that the binary file returned is not blank on version 0.209.4? I ideally want to be using the latest version of n8n rather than settling for the older version which works but has less features.
- n8n version: 0.165.0 (working) 0.209.4 (not working)
- Self-hosted using Docker on Digital Ocean
Hi @mrwhall, welcome to the community and sorry for the trouble.
I quickly tested your node in the below workflow on [email protected] and it downloaded the file as expected:
Perhaps you can try removing the old HTTP Request node from the workflow in question and add a fresh HTTP Request node from scratch to use the latest version of the node (make sure to actually add a new node rather than copying the old one to make sure you get the latest node version)?
This will allow you to specify how n8n handles redirects and might solve the problem (if it’s actually caused by the redirect):
Thanks for your quick response!
Setting “Follow Redirects” to True fixed it.
Thanks so much!
Perfect, glad to hear and sorry for the upgrade trouble in the first place!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.