https://dagster.io/ logo
#ask-community
Title
# ask-community
s

Sergio Pintaldi

09/05/2023, 12:21 AM
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