Hi people I added slack hooks to `define_asset_job...
# ask-community
s
Hi people I added slack hooks to
define_asset_job
as per snippet but I get this error after the asset is materialised:
Copy code
AttributeError: 'SlackResource' object has no attribute 'chat_postMessage'
Dagster version 1.3.12 Screeshot from webserver
It seems that using
slack_on_failure
it can't retrieve the slack client right?
I resolved using
slack_resource.configured({"token": {"env": "SLACK_TOKEN"}})
Cheers