1

I'm trying to use IFTTT web hooks to send an mp3 file to Telegram, but keep getting this error on almost every link I try.

This is the error in IFTTT's activity page:

Telegram error: Invalid Bots API response

enter image description here

Examples:

Any idea why it keeps failing?

I'm trying for sometime now, but no progress.

1 Answer 1

3

Ok, found it after digging in Telegram's bots api - File size limit.

There's a limit of 20 MB for files sent with an HTTP URL, and 50 MB if sent with multipart/form-data when uploaded from the browser.

The file that was working was 12 MB, while the other was 54 MB 😕

Quoting:

Sending files

...

  1. Provide Telegram with an HTTP URL for the file to be sent. Telegram will download and send the file. 5 MB max size for photos and 20 MB max for other types of content.
  2. Post the file using multipart/form-data in the usual way that files are uploaded via the browser. 10 MB max size for photos, 50 MB for other files.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.