Core: Webhook doesn't work after upgrade to 0.112.0

Created on 6 Jul 2020  路  5Comments  路  Source: home-assistant/core

The problem


I use many webhook to trigger HA automation.

For example I have this automation:

automation:
   - alias: dss_dahua_doorbell_webhook_video_ready
       initial_state: true
       trigger:
         platform: webhook
         webhook_id: 'webhook_unique_id'

This automation will be triggered with a HTTP POST Call to /api/webhook/webhook_unique_id

EG:
curl -X POST -H "Content-Type: application/json" -d '' https://xxxxxx.duckdns.org/api/webhook/webhook_unique_id

After upgrading HA from 0.109.6 to 0.112.0, I start getting 404: Not found errors and webhooks cannot be triggered

Environment

  • Home Assistant Core release with the issue: 0.112.0
  • Last working Home Assistant Core release (if known): 0.109.6
  • Operating environment (OS/Container/Supervised/Core): HassOS 4.11
  • Integration causing this issue:
  • Link to integration documentation on our website:

Problem-relevant configuration.yaml


Traceback/Error logs


Additional information

automation webhook

All 5 comments

I was having this same issue with automation webhook triggers. I added these entries to my configuration.yaml

api:
webhook:

It's worth noting I hadn't setup any webhooks before 0.112, so this was my first experience setting up webhooks via yaml.

webhook documentation
webhook source
(message by IssueLinks)

I wasted 2 hours of trial and error till I found this issue. Adding webhook: to the configuration made my webhook finally working.
Either there is a bug or the documentation has to be updated. Running version 0.113.0.

With 0.113.0 problem seems to be resolved also for me adding

webhook:

Now everything works for me

Was this page helpful?
0 / 5 - 0 ratings