I try to upload some pdf files that i get from wise.com node to the google drive , but for some reason even if wise node has as output 10 binary files named: data when i try to upload it on google drive i get this error:
NodeOperationError: No binary data exists on item!
at assertBinaryData (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:694:15)
I try to understand what i am doing wrong but to be honest i am not sure as there are binary files in input, so why google drive not dettls me there are not , is hard to understand.
It looks like you have at least 8 items but only 3 have binary data. Meaning 5 do not have binary data and that is why it fails.
Is important to remember that in n8n a node always executes once per item.
Hi, i did not add the full screenshot there, there are 13 items and all 13 have binary data, so what i should do is use a loop right? in order to upload the data?
Ok, so for example here i download from wise 14 pdf files and i try to upload one by one on google drive, when it gets to file number 6 it gives me error, no bidary data exists on item even if i can see it in the list, there are 14 binary data, but it breaks on number 6 and i do not understand , when i click on view, i can see all the details, so pdf is not corupt, i am little bit unsure what is going on there
It seems that out of 14 transactions n8n was able to download just 10 of them , so maybe item number 6 it was not able to download? So this means there is a problem with wise node that did not output anything on intem 6?
n8n nodes are just a thin wrapper around the API. So, even though it is possible that there is something wrong with the node, is the chance higher that the API does not return a file for some reason. So I would probably start and look into Wise and what is different between the ones where data does get returned and the ones where not. Also, check if the output of the node maybe gives some indication.