Describe the problem/error/question
Hi everyone,
I’m using n8n to generate PDFs via Gotenberg. I’m able to successfully get the binary from the HTTP Request node and download the PDF manually. However, when I try to upload this binary to Google Drive, I get an Invalid array length error.
I’ve tried wrapping the binary in a Code node before sending it to Google Drive, but it still fails. I suspect the issue is related to the binary property naming or how the data is structured, but I’m not sure how to correctly pass the PDF from Gotenberg to the Google Drive node.
Any guidance on the correct workflow setup or binary handling would be greatly appreciated!
What is the error message (if any)?
Please share your workflow
The output of the http node is :
Information on your n8n setup
-
n8n version:
1.115.3 (Self Hosted) -
Database (default: SQLite): Postgres
-
n8n EXECUTIONS_PROCESS setting (default: own, main):
-
Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
-
Operating system:



