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!