Webhooks trigger


I am trying to start a trigger through a webhooks. My setup is as follows.


alias: Uber chegando
  description: Quando o Uber estiver chegando
  - platform: webhook
    webhook_id: uber_chegando
  condition: []
  - data:
        message: Renato, o seu Uber,está chgeando.
    service: tts.watson_tts_say
  - data:
        type: announce
      message: Renato, o seu Uber,está chgeando.
    service: notify.alexa_media_alexa_cozinha
  - data:
        type: announce
      message: Renato, o seu Uber,está chgeando.
    service: notify.alexa_media_alexa_escritorio

In my ifttt I have the following URL


https://hooks.nabu.casa/url****** **** * * * * * * * * *=/api/webhook/uber_chegando

Nothing happens when I call the url. I have error 404.

404: Not Found

As you can see, I’m having trouble setting the webhooks trigger. What am I doing wrong ? I am using the POST method …

??? please.!


Missing enables the webhooks option. Sorted out.

I am having this error. Can you help me?

NOTE: My body field in ifttt applets is in arm. I saw that you don’t have to.

Error processing webhook uber_juliana_chegou_em_casa
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/webhook/__init__.py", line 77, in async_handle_webhook
    response = await webhook["handler"](hass, webhook_id, request)
  File "/usr/src/homeassistant/homeassistant/components/automation/webhook.py", line 31, in _handle_webhook
    result["json"] = await request.json()
  File "/usr/src/homeassistant/homeassistant/util/aiohttp.py", line 41, in json
    return json.loads(self._text)
  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)

I will try to add in the applet body the ** {} **

The problem I can test only when calling an uber …