Webhooks - Tautulli / HASS issues

Apologies if I haven’t posted in the correct category.

I’m having troubles setting up webhooks from Tautulli to HASS (both hosted in containers on the same host). I am trying to get started with something simple (flash a hue bulb when something plays) however it keep getting this error every time the webook is triggered by Tautulli:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/webhook/__init__.py", line 97, in async_handle_webhook
    response = await webhook["handler"](hass, webhook_id, request)
  File "/usr/src/homeassistant/homeassistant/components/automation/webhook.py", line 30, in _handle_webhook
    result["json"] = await request.json()
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_request.py", line 584, in json
    return loads(body)
  File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Interestingly, I can trigger the HASS automation from curl/invoke-webrequest from PoSh by hitting: http://localIPforHASS:8123/api/webhook/plexdim

It feels like HASS doesn’t like however the request is formatted by Tautulli but after testing it PostBin I can’t see anything wrong with it.

Any help is appreciated, I feel like I’m going insane!

I can’t speak of the Tautulli integration used to work for me and then after a long lull and big upgrade couldn’t ever get to work again, it wasn’t that rich imo anyhow.
Not sure what your future take is, but w/ this automation itself couldn’t you just use the Plex integration itself or Media player integrations themselves?

I had read that Tautulli’s response time (and ability to determine play/stop state) was better than the Plex integration. I’ll try an alternative method. Just seems weird that I can fire a basic request from PoSh and it works but HASS throws a fit when Tautulli sends it.

The built-in Plex integration used to be slow (on a 10s polling timer) but it has used websockets to trigger updates for a while now. It’ll update just as fast as a more complex webhook method.

That’s good to know. I got an automation in place to dim lights using scenes and seems to be as responsive as I’d like so I’m pretty happy with that.