How do use transloadit addStream() function in the NodeJS SDK?

Okay so I reached out to someone on the core team, and this was there response (paraphrased)

It may try to set his streams to be Tus streams which would mean that they’re not uploaded as multipart/form data.

In either case it seems like the error to his callback would be originating from the error out of _remoteJson

These could be the problem areas

  1. https://github.com/transloadit/node-sdk/blob/master/src/TransloaditClient.js#L146
  2. https://github.com/transloadit/node-sdk/blob/master/src/TransloaditClient.js#L606
  3. https://github.com/transloadit/node-sdk/blob/master/src/TransloaditClient.js#L642

It is also possible that the form-data library could be the source of the error

To really test this further we’re going to need to try using the library he was using, make sure the output of it is good, and then debug the node-sdk to see where the logic failure is in it, or if the logic failure is on the API side.

We’re gonna look further into this

1 Like