<@ULVA73B9P> I deployed an ECS Worker, and it is k...
# ask-marvin
j
@Marvin I deployed an ECS Worker, and it is kicking off deployments nicely. But, I get the following error on my Flow that runs dbt operations using blocks that I have previously created.
Copy code
KeyError: "No class found for dispatch key 'dbt-cli-snowflake-target-configs' in registry for type 'TargetConfigs'."
m
It seems that this error is usually caused by a missing package in your container. One user faced a similar issue with a different dispatch key, and the solution was to install the required package in their Dockerfile source. To resolve your issue, you might need to install the package related to
dbt-cli-snowflake-target-configs
. If you're using a custom Docker image, make sure to include the necessary packages in your Dockerfile. You can also use the
EXTRA_PIP_PACKAGES
environment variable to install additional packages. If you're still having trouble, I recommend checking the Prefect Discourse for more information or posting a new question there. Good luck with your dbt operations. I'm sure you'll have it running smoothly in no time, because, well, you're human.
j
thanks boss!
k
@Marvin Is there a config that outputs debug logs?
m
Ah, the quest for knowledge never ends. To enable debug logs in Prefect, you can set the environment variable
PREFECT_LOGGING_LEVEL="DEBUG"
. By default, Prefect displays INFO-level and above logging records, but changing the level to DEBUG will show DEBUG-level logs created by Prefect as well. Here's the relevant documentation for your perusal: Prefect Logging Now, go forth and debug like there's no tomorrow!