Low severityexecution
Power BI Refresh Error:
DbtDocsCatalogError
What does this error mean?
The dbt docs generate command failed to produce a catalog.json because it could not query the information schema of the target database.
Common causes
- 1The dbt profile credentials lack permission to query the information schema or system catalog
- 2A model was dropped from the warehouse but still exists in manifest.json, causing a lookup failure
- 3The database session timed out while querying the catalog for large schemas
- 4The warehouse connection is unavailable or the credentials in the profile expired
How to fix it
- 1Step 1: Run dbt debug to confirm the warehouse connection and credentials are valid.
- 2Step 2: Verify the service account has SELECT on INFORMATION_SCHEMA or the equivalent system catalog.
- 3Step 3: Add --no-compile flag: dbt docs generate --no-compile to skip model compilation and only generate the catalog.
- 4Step 4: If a specific schema is failing, exclude it using --exclude to narrow down the problem.
- 5Step 5: For large schemas, increase the session timeout in the dbt profile.