https://prefect.io logo
i

Igor Morgunov

07/21/2023, 2:41 PM
Hi, I'm having problems with Automations. I've set up an Automation to send Slack notifications when flows crash - the automation fires, but fails with the following error:
Copy code
"reason": "The notification block was invalid: KeyError(\"No class found for dispatch key 'slack-incoming-webhook' in registry for type 'Block'.\")"
in the Automation I used the same Slack webhook block as in my flows where it works fine
j

Jake Kaplan

07/21/2023, 2:47 PM
hey, theres a slight distinction between the capabilities of
slack-incoming-webhook
and the
slack-webhook
I believe you need to use the 2nd one for automations