richardvrusso 13 Posted July 9, 2025 Posted July 9, 2025 Hi everyone, If I missed it somewhere please let me know. I'm playing around with webhooks. I have the Playback Reporting plugin installed. It will send through email a daily 'user activity report' but not through the webhook. All the other checkboxes will send a webhook notification. I looked through the embyserver.txt log but only found limited entries. Then I turned on debug logging and ran that scheduled task again. Still trying to sift through for any info. Anyone else have this issue and fixed it? Thanks, Rich
Luke 42077 Posted July 9, 2025 Posted July 9, 2025 HI there, can you please provide a specific example? How to Report a Problem Thanks !
richardvrusso 13 Posted July 9, 2025 Author Posted July 9, 2025 Hey Luke, Sure thing. To try and capture what is or isn't going on, I'll enable debug logging, then click the scheduled task that runs the user activity report. Hopefully there will be something in there if that data is making it to the webhook... It is definitely making it to the email I receive nightly. 1
richardvrusso 13 Posted July 9, 2025 Author Posted July 9, 2025 After I turned on debug logging, I went and played 60 seconds of a show. Then ran the task, and a few seconds later, I got the email with the user activity. I didn't not see the webhook notification externally. I attached the log. Near the bottom I did notice these two lines. Which gave me the impression one was for the email and one for the webhook. 2025-07-09 13:55:30.447 Debug Notifications: Sending notification: User Activity Report Notification 2025-07-09 13:55:30.447 Debug Notifications: Sending notification: User Activity Report Notification embyserver.txt
richardvrusso 13 Posted July 9, 2025 Author Posted July 9, 2025 Maybe something why it failed to send that one checkbox to the webhook? User Activity report is checked on this and the email notification. Second screenshot is the email I got but now webhook notify.
Luke 42077 Posted July 9, 2025 Posted July 9, 2025 There are no failures to that webhook address in the log. In fact, there are 21 successful messages sent to it.
richardvrusso 13 Posted July 9, 2025 Author Posted July 9, 2025 i can see those successfull ones but the user activity report is missing in the ether. I'll try the discord plugin and see if I can get the missing notification with their webhook...
richardvrusso 13 Posted July 9, 2025 Author Posted July 9, 2025 (edited) Hmm how about this method? 2025-07-09 16:01:03.554 Info HttpClient: POST https://discord.com/api/webhooks/*apikey* 2025-07-09 16:01:03.628 Error Notifications: Error sending notification *** Error Report *** Version: 4.8.11.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 6.12.24-Unraid (root@Develop) (gcc (GCC) 14.2.0, GNU ld version 2.44-slack151) #1 SMP PREEMPT_DYNAMIC Sat May 3 00:12:52 PDT 2025 Framework: .NET 6.0.36 OS/Process: x64/x64 Runtime: system/System.Private.CoreLib.dll Processor count: 24 Data path: /config Application path: /system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: BadRequest at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod) at Emby.Notifications.Discord.DiscordWebhookHelper.ExecuteWebhook(DiscordMessage message, String webhookUrl, IJsonSerializer _jsonSerializer, IHttpClient httpClient, CancellationToken cancellationToken) at Emby.Notifications.NotificationQueueManager.StartProcessingQueue() Source: Emby.Server.Implementations TargetSite: Void MoveNext() Edited July 9, 2025 by richardvrusso
richardvrusso 13 Posted July 9, 2025 Author Posted July 9, 2025 Oh wait sorry I found another thread from the person who made the plugin. Going to start searching through those 23 pages if someone has the same error as me.
Luke 42077 Posted July 9, 2025 Posted July 9, 2025 That’s your webhook url sending back an error code, probably due to something being configured incorrectly. What that is I don’t know. Maybe you left something blank that needs to be entered. 1
richardvrusso 13 Posted July 9, 2025 Author Posted July 9, 2025 Yeah probably. If I have to recreate the webhook in discord its not a problem. I think they are on to it with that other thread. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now