troubleshooting-dbt-job-errors

Diagnose dbt Cloud job failures by analyzing run logs and Admin API data.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/niits/voz-company-crawler --skill troubleshooting-dbt-job-errors-niits
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: troubleshooting-dbt-job-errors
Source: https://github.com/niits/voz-company-crawler/tree/main/.agents/skills/troubleshooting-dbt-job-errors
Command: npx skills add https://github.com/niits/voz-company-crawler --skill troubleshooting-dbt-job-errors-niits

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you systematically diagnose and resolve failures in dbt Cloud or dbt platform jobs, especially when error messages are unclear or failures are intermittent.

Core Features & Use Cases

  • Error Classification: Identifies whether a dbt job failure is due to infrastructure, code/compilation, or data/test issues.
  • Log and API Analysis: Utilizes dbt MCP Admin API tools (list_jobs_runs, get_job_run_error) or user-provided logs and run_results.json for detailed error information.
  • Root Cause Investigation: Guides through checking warehouse status, git history, and using the discovering-data skill for data-related problems.
  • Resolution Workflow: Provides steps for fixing issues, adding tests, and creating pull requests, or documenting unresolved issues.
  • Use Case: When a dbt Cloud job fails unexpectedly overnight, this Skill can be used to analyze the run logs, identify a potential schema mismatch in a downstream model, and guide the investigation into the source data changes.

Quick Start

Use the troubleshooting-dbt-job-errors skill to diagnose a failed dbt job run by providing the job ID.

Frequently Asked Questions about troubleshooting-dbt-job-errors

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose a dbt job failure from run logs?

To diagnose a dbt job failure, analyze run logs and run_results.json to classify the error as infrastructure, code/compilation, or data/test related. This systematic review guides you through checking warehouse status and git history to pinpoint the root cause.

Why does my dbt Cloud job keep failing overnight?

Overnight dbt Cloud job failures often stem from schema mismatches or source data changes. This Skill reviews run logs via the Admin API and git history to identify whether the failure is infrastructure, code, or data-related to resolve intermittent issues.

What is the best way to troubleshoot dbt data pipeline errors?

The best way to troubleshoot dbt data pipeline errors is to classify the failure type first. By querying the Admin API for error details and checking git history, you can isolate whether the issue originates from data anomalies or compilation errors.

Do I need the dbt Admin API to investigate job failures?

You do not need the dbt Admin API if you can manually provide run artifacts. While the Skill can query the Admin API using tools like list_jobs_runs, it also fully supports diagnosing issues from user-provided logs and run_results.json files.

Can I use dbt logs to fix SQL compilation errors?

Yes, you can use dbt logs to fix SQL compilation errors by reviewing the error classification and checking git history. This Skill analyzes run_results.json and logs to identify code issues, guiding you through fixing models and creating pull requests.

How to resolve dbt test failures caused by data issues?

To resolve dbt test failures caused by data issues, investigate source data changes using the discovering-data skill. This Skill identifies data-related failures from run logs and guides the investigation into schema mismatches in downstream models.