Discord notifications not working
See original GitHub issue📣 Notification Service(s) Impacted Discord
🪲 Describe the bug Discord notifications are not sent anymore, everything was working until Friday, without any change on my end it stopped. Tried to use the CLI, and reproduced the problem.
💡 Screenshots and Logs
Calling :
apprise -vvv -b 'test' 'discord://XXXXXXXX/YYYYYYYY/'
Returns :
2019-11-24 17:13:50,476 - DEBUG - Loaded URL: discord://XXXXXXX/YYYYYYYYYY/?format=text&tts=no&verify=yes&image=no&footer=no&footer_logo=yes&avatar=yes&overflow=upstream 2019-11-24 17:13:50,476 - DEBUG - Discord POST URL: https://discordapp.com/api/webhooks/XXXXXXX/YYYYYYYYYY (cert_verify=True) 2019-11-24 17:13:50,477 - DEBUG - Discord Payload: {'tts': False, 'content': u'test', 'avatar_url': u'https://github.com/caronc/apprise/raw/master/apprise/assets/themes/default/apprise-info-256x256.png', 'wait': True} 2019-11-24 17:13:50,618 - WARNING - Failed to send Discord notification: Bad Request - Unsupported Parameters., error=400. 2019-11-24 17:13:50,618 - DEBUG - Response Details: {"message": "Cannot send an empty message", "code": 50006}
💻 Your System Details:
- OS: Ubuntu 18.04
- Python Version: Python 2.7.15+
🔮 Additional context Since the change is sudden, maybe there was an API change on discord’s side?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
Got confirmation that this fix was good. Going to merge the PR and close of this ticket.
You’ll be able to use the master branch for now to get around this issue. Alternatively, I will be pushing a release very, very soon (this week for sure); so you’ll be able to update using
pip
soon enough.I think I’ve found the issue; but I can’t be sure as everything still works great for me right now (before and after the change).
Would you be able to test this branch?