Telegram media upload

Hello guys.
I want to upload some files ( less than 50 MB each ) to telegram. but it doesn’t let me do that. i am sure i could upload before.
i use read binary file, then use the output for telegram. but it says :

ERROR: Bad request - please check your parameters
Bad Request: invalid file HTTP URL specified: URL host is empty

it only works when i use direct links for telegram input.

Information on your n8n setup

  • n8n version: latest
  • Database you’re using (default: SQLite): default
  • Running n8n with the execution process [own(default), main]: default
  • Running n8n via [Docker, npm,, desktop app]: Docker

Hey @rhodesgod,

Can you share a screenshot of the node configuration? It sounds like the Binary Data option has not been toggled and it is instead trying to use the default URL option.

1 Like

node 01

The description of “Media File” say:

Media to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass an HTTP URL for Telegram to get a file from the Internet.

Right now you are neither passing a file_id nor an URL. So you would have to upload that file somewhere first and then provide the URL via which it can be reached in that parameter.


you are works with links.
but i remember i could upload directly files with bot in previous versions.
i don’t remember the exact version.

Hey @rhodesgod,

You can directly upload but you need to use a binary data option rather than passing a local file directly, The Send Media Group doesn’t support the binary option. Is it possible that you previously used one of the other send operations?