-
Notifications
You must be signed in to change notification settings - Fork 55.5k
Description
Bug Description
Hey,
in the last 2-3 updates, the http multipart/form-data with n8n binary data broke.
When I copy the same workflow with the same data to an older version, it works. Till a few days ago, I had no issues. Now I get the following message in the logs:
Mar 05 12:43:49 Unable to calculate form data length
Mar 05 12:43:49 data should be a string, Buffer or Uint8Array
Mar 05 12:44:52 Unable to calculate form data length
Mar 05 12:44:52 data should be a string, Buffer or Uint8Array
Version 2.10.3 self hosted via claudron.
To Reproduce
- set up a flow to get a binary file and merge via merge node with other data.
- Send binary file as multipart/form-data with two properties. "name" as string and "value" as data (binary)
- Node never finishes, does not throw an error and eventually runs into timeout.
Expected behavior
Working as before, where no issue was present
Debug Info
Mar 05 12:18:19 Version: 2.10.3
Mar 05 12:43:49 Unable to calculate form data length
Mar 05 12:43:49 data should be a string, Buffer or Uint8Array
Mar 05 12:44:52 Unable to calculate form data length
Mar 05 12:44:52 data should be a string, Buffer or Uint8Array
Operating System
Claudron
n8n Version
2.10.3
Node.js Version
Package version 4.9.1 on claudron, dont know the node.js version
Database
PostgreSQL
Execution mode
main (default)
Hosting
self hosted