# Webhooks - JSON Payload Header: content-type

**URL:** <https://forums.plex.tv/t/webhooks-json-payload-header-content-type/812505>\
**Category:** Plex Media Server\
**Tags:** webhooks\
**Created:** [September 26, 2022, 6:24pm UTC](https://forums.plex.tv/t/webhooks-json-payload-header-content-type/812505 "2022-09-26T18:24:29Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jfklingler](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jfklingler/32/289126_2.png) [@jfklingler](https://forums.plex.tv/u/jfklingler)\
**Post date:** [September 27, 2022, 1:19pm UTC](https://forums.plex.tv/t/webhooks-json-payload-header-content-type/812505/4 "2022-09-27T13:19:27Z")

</div>

It’s not even difficult to find reports right here on the plex forums. Plex employees never seem to respond to these though, which I can only assume means they know there’s a problem and they aren’t going to address it.

Specifically mentioning content type:

> [@Webhooks stopped working](https://forums.plex.tv/t/webhooks-stopped-working/715579):
>
> Server Version#: Player Version#: 1.31.1.2262-74fdc6b7, other players Plex Pass added a webhook “[https://myserver.com/?token=abc”](https://myserver.com/?token=abc%E2%80%9D) I used to have webhooks working fine. Recently I noticed webhooks were no longer firing. I have put in a print command, console.log(‘webhook!’), at the start of my webhook router and am getting nothing! router.post( ‘/webhook’ , multer().any(), function (req, res) { console.log(‘webhook!’) }

> [@Webhooks post does not correctly identify the Content-Type header as application/json](https://forums.plex.tv/t/webhooks-post-does-not-correctly-identify-the-content-type-header-as-application-json/806606):
>
> Server Version#: 1.28.1.6104 Player Version#: I’ve set up an API endpoint in AWS API Gateway to trigger an AWS Lambda function so I can control some home automation via webhooks. Unfortunately, when AWS API Gateway receives the POST data from the webhook, the Content-Type header isn’t set to application/json. By default, API Gateway takes the body data for any request which the Content-Type header hasn’t been set and base64 encodes the data instead of treating the data like JSON data. Ideally …

Just confused because webhooks don’t work:

> [@Library Webhooks never fire](https://forums.plex.tv/t/library-webhooks-never-fire/754867):
>
> Problem: library.\* webhooks do not fire media.\* all work fine Setup: Host is Ubuntu 20.04 Installed using docker image via docker-compose. plex: image: plexinc/pms-docker container\_name: plex network\_mode: host volumes: - ./plex/config:/config - ./plex/tmp:/transcode - ../storage/videos:/data:ro - /etc/localtime:/etc/localtime:ro restart: always Push notifications: Enabled Webhooks (server): Enabl…

> [@Plex Server Webhooks not being fired up](https://forums.plex.tv/t/plex-server-webhooks-not-being-fired-up/747780):
>
> Hello, my plex is not firing any webhooks I add I have Plex Version 1.24.3.5033 I have PlexPass I have Enabled Webhooks in options I have Enabled Push Notifications (as I found suggestions on other threads) I have tested connection to webhook (it works fine from server console with wget for example, so connection is OK) I have tested it with 3 different webhook endpoints, including webhook.site Plex logs (console) say nothing about hook being fired up (and it should)

---

_[View the full topic](https://forums.plex.tv/t/webhooks-json-payload-header-content-type/812505)._
