I am experiencing an issue when trying to upload a PNG file to GitHub using the “Create a file” node in n8n (version 1.112.6). My workflow is as follows:
-
2x HTTP Request nodes
-
Downloads a PNG file from a URL
-
“Response Format” is set to “File”
-
“Put Output in Field” is set to
data -
The binary data is valid (I can download and open the file from the node output)
-
-
GitHub node (“Create a file”)
-
“Binary Property Name” is set to
data(matches the HTTP Request node output) -
The node is directly connected to the HTTP Request node
-
Despite this setup, I receive the following error in the GitHub node:
Your request is invalid or could not be processed by the service: content is not valid Base64
Troubleshooting steps already taken:
-
Verified the binary property name matches (
data) -
Confirmed the binary data is valid and the file is not empty or corrupted
-
File size is well below GitHub’s API limit
-
Tried re-executing the nodes
Request:
Is this a known issue with the GitHub node in n8n 1.112.6? Are there any workarounds or fixes to ensure the binary data is properly encoded and accepted by the GitHub API?