troubleshooting-dbt-job-errors

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

11|3|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/kyle-chalmers/dbt-agentic-development --skill troubleshooting-dbt-job-errors-kyle-chalmers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: troubleshooting-dbt-job-errors
Source: https://github.com/kyle-chalmers/dbt-agentic-development/tree/main/.agents/skills/troubleshooting-dbt-job-errors
Command: npx skills add https://github.com/kyle-chalmers/dbt-agentic-development --skill troubleshooting-dbt-job-errors-kyle-chalmers

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Diagnoses dbt Cloud/platform job failures by analyzing run logs, querying the Admin API, reviewing git history, and investigating data issues to identify root causes. Do not use for local dbt development errors.

Core Features & Use Cases

  • Systematic workflow to gather run information from MCP Admin API, recent job runs, and logs.
  • Multi-faceted error classification: Infrastructure, Code/Compilation, and Data/Test failures.
  • Actionable remediation guidance, including branch creation, fixes, and documentation when root causes remain unidentified.

Quick Start

Provide the failed dbt Cloud job run_id and any available logs, and the skill will guide you through diagnosing and resolving 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 diagnose dbt Cloud job failures from run logs?

Diagnose dbt Cloud job failures by analyzing run logs and querying the MCP Admin API to classify errors as infrastructure, code, or data issues and identify root causes. The skill uses list_jobs_runs and get_job_run_error tools to gather run data.

Why does my dbt Cloud job fail with unclear errors in CI/CD?

dbt Cloud jobs fail with unclear errors due to infrastructure issues, code compilation failures, or data and test constraint violations. The skill systematically reviews run_results.json, git history, and Admin API data to pinpoint the exact failure category.

What's the best way to troubleshoot intermittent dbt platform job issues?

Troubleshoot intermittent dbt platform job issues by querying the MCP Admin API for recent job runs and reviewing historical logs. This systematic approach identifies whether root causes stem from infrastructure, code compilation, or data test failures.

Do I need MCP Admin API access to troubleshoot dbt Cloud job errors?

MCP Admin API access is required to gather job run information and error details. You also need the failed job run_id, available run logs, and run_results.json to properly diagnose and resolve dbt Cloud job failures.

Can I use this approach for local dbt development errors?

This approach is not intended for local dbt development errors. It specifically diagnoses and resolves dbt Cloud and platform job failures occurring in CI/CD pipelines or cloud environments where MCP Admin API data and run logs are available.

How do I fix dbt job failures when the root cause is unidentified?

Fix dbt job failures with unidentified root causes by following actionable remediation guidance that includes creating branches, applying fixes, and documenting the issue. The skill classifies errors to narrow down whether the problem is infrastructure, code, or data related.