dbt-labs avatar

Troubleshooting Dbt Job Errors

When a dbt Cloud job fails and the error message isn't clear, this walks you through systematic diagnosis using the Admin API, run logs, and git history. The workflow is opinionated about one thing: never modify a test to make it pass without understanding why it failed. It covers three failure types (infrastructure, code, data) and includes specifics like how to construct artifact URLs when you don't have MCP access and when to use the discovering-data skill for test failures. The "Rationalizations That Mean STOP" table is pointed and useful, calling out the "board meeting in 2 hours" excuse and the "probably just flaky" handwave.

skills.sh installs
1K
GitHub stars
759
last updated
Aug 21, 2026

Install

$ npx -y skills add dbt-labs/dbt-agent-skills --skill troubleshooting-dbt-job-errors --agent claude-code

Installs into .claude/skills of the current project.

Files

Troubleshooting dbt Job Errors

Systematically diagnose and resolve dbt Cloud job failures using available MCP tools, CLI commands, and data investigation.

When to Use

  • dbt Cloud / dbt platform job failed and you need to find the root cause
  • Intermittent job failures that are hard to reproduce
  • Error messages that don't clearly indicate the problem
  • Post-merge failures where a recent change may have caused the issue

Not for: Local dbt development errors - use the skill using-dbt-for-analytics-engineering instead

The Iron Rule

Never modify a test to make it pass without understanding why it's failing.

A failing test is evidence of a problem. Changing the test to pass hides the problem. Investigate the root cause first.

Rationalizations That Mean STOP

Sponsors

Details

Repository
github.com/dbt-labs/dbt-agent-skills
Categories
Backend & APIs, Git & Pull Requests, AI & Agent Building, Debugging, Cloud & Infrastructure
First seen
Jun 3, 2026

More from dbt-labs/dbt-agent-skills

All 13
1wechat-miniprogram avatarskyline-routewechat-miniprogram/skyline-skillsSkyline 自定义路由与页面转场技能。涵盖自定义路由动画(routeBuilder)、预设路由(7 种 wx:// 类型)、页面返回手势、容器转场动画(open-container)、Router API。适用于实现半屏弹窗、页面缩放、底部弹出、卡片展开等转场效果。触发关键词:自定义路由、custom-route、1Kskills.sh installs
2everyinc avatarce-polish-betaeveryinc/compound-engineering-plugin[BETA] Start the dev server, open the feature in a browser, and iterate on improvements together.1Kskills.sh installs
3felo-inc avatarfelo-slidesfelo-inc/felo-skillsGenerate PPT/slides from prompts, local images, PDFs, and other files with the Felo PPT Task API. Use when users ask to create, make, generate, or export presen1Kskills.sh installs
4adobe avatardispatcheradobe/skillsSingle entry point for all AEM 6.5 LTS Dispatcher skills. Covers config authoring, technical advisory, incident response, performance tuning, security hardening1Kskills.sh installs
5dodopayments avatardodo-best-practicesdodopayments/skillsGuide for initial Dodo Payments setup, including SDK installation, test and live environments, API keys, and the canonical checkout-to-webhook architecture.1Kskills.sh installs
6kostja94 avatarrendering-strategieskostja94/marketing-skillsWhen the user wants to choose or optimize rendering strategy for SEO. Also use when the user mentions "SSR," "SSG," "CSR," "ISR," "static rendering," "dynamic r1Kskills.sh installs