Medium severitydbt
Power BI Refresh Error:
Package Install Error
What does this error mean?
The `dbt deps` command failed to install one or more packages from packages.yml. This blocks all subsequent dbt commands because package macros and models are unavailable. Common in dbt Cloud when Hub packages or Git-based packages are unreachable.
Common causes
- 1A package version specified in packages.yml does not exist on dbt Hub or has been yanked
- 2A Git-based package URL is unreachable from the dbt Cloud environment (private repo, expired token)
- 3Package version constraints conflict — two packages require incompatible versions of a shared dependency
- 4The dbt Hub registry is temporarily unavailable (rare, but transient failures occur)
- 5The dbt-core version in the Cloud environment is incompatible with the declared package versions
How to fix it
- 1Run `dbt deps` locally and compare the output to the Cloud job failure — if it works locally, the issue is network access in dbt Cloud.
- 2Check dbt Hub (hub.getdbt.com) to verify the package version you specified exists and is compatible with your dbt-core version.
- 3For Git-based packages, verify the branch/tag/commit reference is still valid and the repository is accessible with the configured credentials.
- 4If two packages conflict, check their changelogs to find a compatible version combination or pin one to an older version.
- 5Try pinning the package to an exact version rather than a range: `version: 1.2.3` instead of `version: ['>=1.0.0', '<2.0.0']`.
Frequently asked questions
Official documentation: https://docs.getdbt.com/docs/build/packages