For prefect slack notifications, do we need to set...
# ask-community
m
For prefect slack notifications, do we need to setup a block? Or would configuring it through the notification panel be sufficient?
For additional context, just notification without a block was working fine for prefect version 2.3.1. But after upgrading to prefect 2.10.x, the notifications are failing with the error
KeyError: "No class found for dispatch key 'Slack-Webhook' in registry for type 'Block'."
b
Hello Malavika, yes, I believe the new process is as follows: 1. create a slack webhook block 2. create an automation to fire off a notification 3. pass in the block to the automation
Just to confirm, are you using Cloud?
m
No I am not using cloud, its a self hosted server