-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError: Webhook server error: {"message": "Cannot send an empty message", "code": 50006 #33
Comments
OK, found the issue: the webhook has a different payload structure for Discord, so it wasn't working. Ended up implementing a separate reporter for Discord with additional functionality. It should work now; it's available as a release candidate in the unreleased branch. Would you be so kind to test it? If so, you can install it with
The documentation for the new Discord reporter is at https://webchanges.readthedocs.io/en/unreleased/reporters.html#discord (oops, I just noticed that the alphabetical order needs to be restored; will fix). Thanks! |
Thank you for making those changes! There are a few limitations with Pushover - mainly message length being clipped when more than one job is reported. The instructions need some editing. I took a stab at changing from "webhooks" to "discord" for the reporter name after "webhooks" failed... and it's working. I believe the reporter also requires a As far as the
|
Anyway to get links and text to show up in Discord as clickable web links? I am guessing no since it's embedded information. I am also not getting colored text in Discord. |
Thanks. The documentation was indeed rushed for this release candidate and will get cleaned up (thanks for the additional inputs) before final release. Correct; you can remove the reporters not in use from I personally am not a Discord user and don't know if/how clickable web links can be made; if you find out how, please share. Similarly the colorization was an upstream contribution and am surprised to read that it isn't working :( |
Just adding more info for those interested. The links and color are there when viewed in a browser - just not on the iOS Discord.app... yet.
|
Trying to understand why the same job that sends text to pushover is not sending text via the webhook feature and Discord
Did a bit of googling and looking through the docs but must be missing some bit of info. Hoping you have some insight.
My Discord link has been edited.
The text was updated successfully, but these errors were encountered: