# Unusual Malformed Webhooks

**URL:** <https://forums.plex.tv/t/unusual-malformed-webhooks/714990>\
**Category:** Dev/API Corner\
**Tags:** webhooks\
**Created:** [May 10, 2021, 3:45am UTC](https://forums.plex.tv/t/unusual-malformed-webhooks/714990 "2021-05-10T03:45:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rnodern](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@rnodern](https://forums.plex.tv/u/rnodern)\
**Post date:** [May 10, 2021, 3:45am UTC](https://forums.plex.tv/t/unusual-malformed-webhooks/714990/1 "2021-05-10T03:45:28Z")

</div>

Hi there.  
I am getting some weird behaviour with my webhooks.

12+ months ago, I set up a trakt webhook and it was working perfectly for the longest time. Around 6 months ago, it stopped working. It appears as though it’s not reaching trakt. Validating that all of the settings and webhook URL was correct, I setup another webhook, this time, sending it to my home server so that I could see what Plex was sending in via the webhook.

Plex _was_ sending webooks, but was sending malformed JSON

Log from my server:  
`Received invalid data from Webhook. Data needs to be formatted as JSON: --------------------------...`

And when i dig into that error:  
`UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 7153: invalid start byte`

Would there be any reason why Plex is sending weird webhook requests?

Thanks!
