Discord Notifier suddenly stopped working

I’ve been using the Discord Notifier for over a year without issue, Yesterday I started getting the following traceback in the logs for a job.

nz.co.jammehcow.jenkinsdiscord.exception.WebhookException: {
“embeds”: [
“0”
]
}
at nz.co.jammehcow.jenkinsdiscord.DiscordWebhook.send(DiscordWebhook.java:224)
at nz.co.jammehcow.jenkinsdiscord.WebhookPublisher.perform(WebhookPublisher.java:313)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:767)
at hudson.model.Build$BuildExecution.cleanUp(Build.java:189)
at hudson.model.Run.execute(Run.java:1947)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)

Has anybody else encountered this issue, and/or where should I start troubleshooting this?

I am using Discord Notifier Version 218.ve2b_887e3a_f28

All of this is running on Jenkins 2.385

I opened a support ticket with Discord to try to troubleshoot this more and shortly thereafter the plugin started functioning without error. I have not heard by from Discord that any action was taken by them.

1 Like

I’m using the discord notifier plugin daily and have not yet seen this exception in my logs. I’m running the same version as you on Jenkins 2.384 with Java 11.
It’s possibly worth to raise an issue on the plugin repository too, no?

1 Like

I don’t think it was an issue with the plugin, but rather an issue with discord. I can’t say that with any confidence as discord support has yet to even acknowledge the support ticket I opened. But opening the ticket seems to have resolved the issue for me.