caronc / nzb-notify

Push Notifications to a large number of supported services for NZBGet and SABnzbd (based on Apprise)
GNU General Public License v3.0
129 stars 16 forks source link

Notify: Failed to send Telegram notification to -chatid: Bad Request: message is too long, error=400. #88

Open mohitjoshi155 opened 2 years ago

mohitjoshi155 commented 2 years ago

Notify: Failed to send Telegram notification to {chatid}: Bad Request: message is too long, error=400.

any solution for this?

caronc commented 2 years ago

Have a look here.

Basically Apprise is designed to not mangle what you pass along to the service upstream. But in some cases (like this one), you might actually want Apprise to kick in.

You could try adding ?overflow=truncate to the end of your telegram:// URL and see if that helps. Alternatively, don't pass up as much information. Or let Apprise break it apart for you and set ?overflow=split instead.

mohitjoshi155 commented 2 years ago

i will try and see your suggestions thanks