troubleshooting-dbt-job-errors

Diagnose root causes of failed dbt Cloud jobs using MCP Admin API and logs.

653|60|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/dbt-labs/dbt-agent-skills --skill troubleshooting-dbt-job-errors-dbt-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: troubleshooting-dbt-job-errors
Source: https://github.com/dbt-labs/dbt-agent-skills/tree/main/skills/troubleshooting-dbt-job-errors
Command: npx skills add https://github.com/dbt-labs/dbt-agent-skills --skill troubleshooting-dbt-job-errors-dbt-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use when a dbt Cloud/platform job fails and you need to diagnose the root cause, especially when error messages are unclear or when intermittent failures occur. Do not use for local dbt development errors.

Core Features & Use Cases

  • Systematic MCP-based diagnostic workflow to identify root causes (Infrastructure, Code/Compilation, Data/Test Failure)
  • Guidance on gathering logs, run_results, and contextual artifacts, classification of failure types, and recommended remediation steps
  • Documentation and handoff artifacts when the root cause cannot be determined, including creating investigation findings

Quick Start

Describe a failing dbt Cloud job and gather logs, run_results.json, and recent changes to diagnose the root cause.

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 troubleshoot a failing dbt Cloud job with unclear error messages?

To troubleshoot failing dbt Cloud jobs, use a systematic diagnostic workflow to classify failures into Infrastructure, Code/Compilation, or Data/Test categories using logs and run_results.json. This identifies root causes for unclear errors.

Why does my dbt Cloud job fail intermittently and how can I diagnose it?

Intermittent dbt Cloud job failures are diagnosed by gathering logs, run_results, and contextual artifacts to classify the failure type. This systematic approach isolates root causes that are difficult to reproduce during local development.

What do I need to debug dbt Cloud job errors using MCP tools?

Debugging dbt Cloud job errors requires access to MCP tools, the dbt CLI, logs, and the ability to create investigation docs and PRs. These components gather run_results and implement fixes for identified root causes.

Can I use this approach to fix local dbt development errors?

No, this diagnostic approach is specifically for failed dbt Cloud or platform jobs. It does not apply to local dbt development errors, which require a different debugging process outside the MCP Admin API workflow.

What is the best way to investigate a dbt Cloud platform job failure when the root cause is unknown?

The best way to investigate unknown dbt Cloud job failures is gathering logs, run_results, and recent changes to classify the failure type. If the root cause remains undetermined, generate documentation and handoff artifacts.