Upload content from Telegram to Google Drive (Binary File Error)

Hello

I am trying to connect a Telegram bot that listens for files (photo, video and files) and uploads them to a Google Drive folder.

If I send a file , the error is :
“the item has no binary field “data””

and if I send a Photo, the error is :
“The operation expects the node 's input data to contain a binary file ‘data’ , but none was found”
I tried both to add a Merge node before the Google Drive like it was described in another topic, however it seems that I get the same error.

Here is the workflow I am working on

Thank you for suggesting a fix to this.

Razvan

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

I am using the n8n version from the web, not sure which number is it.
Operating system is Mac OS Sequoia.

I think I had a similar thing with some early worflows.

You probably need to convert the data to binary, probably saving it temporary on your server and then you can upload.

My actual relevant code in case it helps you somehow:

I tried it, but I want the file in the same format as before - so photo, video or audio. This Convert node will convert it to other things… Thank you so much

It’s weird because I tried this workflow and it works perfectly. Because the node takes all the data directly from the Telegram trigger. But if I try to add the Google Drive down the line on the workflow, it doesn’t work anymore.

What can be different for this workflow above that it works?