The GitHub node returned the error:
Your request is invalid or could not be processed by the service
Content is not valid Base64
Previously, the problem was that the node in the file could not be the same, so I used the ID for each file to avoid conflict, but even using this strategy, the error returned.
Information on your n8n setup
- **n8n version:1.116.2
- **Database (default: SQLite):Postgres
- **n8n EXECUTIONS_PROCESS setting (default: own, main):main
- **Running n8n via (Docker, npm, n8n cloud, desktop app):Docker
- **Operating system:Linux
n8n handles binary files in a rather unusual way, and there are a few things you need to watch out for. Could you send a screenshot of the entire workflow and indicate which node you are trying to interact with the binary file?
A few things to keep in mind: if a node receives multiple inputs and one of them is a binary file, it will not be able to read it. If you need to merge a binary file with other data, you have to use a Merge node and select Append mode.
For example, in this workflow the On Form Submission node contains the binary data. I cannot pass the binary information through all the other nodes. Instead, I connect it directly to the node that needs to read it. Because I also need an ID, I merge them right before the node that is supposed to receive the binary file.
It worked now, but sometimes it gives an error. I can’t understand it, I didn’t change anything.