Some webhook automations, not working

Hi!

I have a situation and I don’t understand why is happening.
Two similar automations with the webhook trigger, one is working, one is not.
For the one which is not working, I get this error in the log:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/webhook/__init__.py:44
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:33:42 (3 occurrences)
Last logged: 12:41:51

    [140204543761264] Error setting up trigger
    [140204179446112] Error setting up trigger

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/webhook/trigger.py", line 55, in async_attach_trigger
    async_register(
  File "/usr/src/homeassistant/homeassistant/components/webhook/__init__.py", line 44, in async_register
    raise ValueError("Handler is already defined!")
ValueError: Handler is already defined!

Both automation, uses different webhook trigger, webhooks which are used only in these automations.
Any idea how to solve this?

Thank you in advance!

1 Like

Hi!

I’m experiencing the exact same behavior. Anyone has an idea on this? I already changed the webhook ID manually, without success.

Best regards
Toby

Since a minimal reproduction example also triggers this error, I reported the issue as a bug here: https://github.com/home-assistant/core/issues/76043

could you find any solution?