Jellyfin Forum
SOLVED: Discord webhook failure - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Discord webhook failure (/t-solved-discord-webhook-failure)



Discord webhook failure - BourbonDoc - 2024-09-20

I've been trying to get Discord notifications up and I keep getting a "Notification failed with "POST" request" message in the log. I've tried with templates as well as just the check box selections, and both. No issues with my other webhooks on the same server with Radarr, Sonarr, and Plex.

Any ideas on what I may be doing wrong?

Code:
[2024-09-20 14:26:48.074 -04:00] [WRN] [24] Jellyfin.Plugin.Webhook.Destinations.Discord.DiscordClient: Notification failed with "POST" request to https://discordapp.com/api/webhooks/***: "{\"ServerId\":\"***\",\"ServerName\":\"ChrisFlix\",\"ServerVersion\":\"10.9.11\",\"ServerUrl\":\"https://jelly.lough.app\",\"NotificationType\":\"AuthenticationSuccess\",\"NotificationUsername\":\"Chris\",\"UserId\":\"***\",\"LastLoginDate\":\"2024-09-20T18:26:47.8362391Z\",\"LastActivityDate\":\"2024-09-20T18:26:47.8362391Z\",\"MentionType\":\"@everyone\",\"EmbedColor\":697804,\"Username\":\"Jelly\",\"BotUsername\":\"Jelly\"}"

[2024-09-20 14:26:48.074 -04:00] [WRN] [24] Jellyfin.Plugin.Webhook.Destinations.Discord.DiscordClient: Notification failed with response status code BadRequest: "{\"message\": \"Cannot send an empty message\", \"code\": 50006}"



RE: Discord webhook failure - crobibero - 2024-09-20

You need to actually use a discord template.

https://github.com/jellyfin/jellyfin-plugin-webhook/tree/master/Jellyfin.Plugin.Webhook/Templates


RE: Discord webhook failure - BourbonDoc - 2024-09-20

I tried a few of those in the template section from that repository. Same errors persisted. Do I need to change values in the template?


RE: Discord webhook failure - xaque - 2024-09-21

Not sure if you want to re do your entire notification setup but you could use notifiarr https://github.com/Notifiarr/notifiarr

Such an awesome project imo, the juice is worth the squeeze on setting this up for sure.


RE: Discord webhook failure - BourbonDoc - 2024-09-21

Not sure what the issue was, but 3rd time was the charm. Reinstalled and setup again and it just worked. I'm sure I did something wrong, but I'll never know what lol.

(2024-09-21, 01:48 AM)xaque Wrote: Not sure if you want to re do your entire notification setup but you could use notifiarr https://github.com/Notifiarr/notifiarr

Such an awesome project imo, the juice is worth the squeeze on setting this up for sure.

I've looked at that a couple times and thought it looked interesting. It may be time to look back into it. Thanks for the remindarr!