Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
Anthropic · CCDV-F

Debugging and error handling

CCDV-F · Lesson 11 of 21 · 1:32:26

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

In this lesson

Prepare for the Claude Certified Developer – Foundations exam, on the exam guide version 1.0, effective July 2026. In this lesson: API errors (status, type, request ID), which errors to retry with exponential backoff and retry-after, the default retries of the SDKs, traces from the Agent SDK and common failure modes, and telling integration bugs from model output problems. Includes three original practice questions.

Preview the topics
  • Driftwood’s retry wrapper retries every failed call five times, and one call fails with a 400 invalid request error. What happens, and what should change?
  • A Driftwood agent run takes four minutes, and in the trace, most of the time sits in the blocked_on_user spans of its tool calls. What is the failure mode?
  • After Driftwood moves to a newer model, some descriptions come back empty, with no error. The logs show a 200 status and end_turn, and each raw response holds a thinking block, then a text block with the description. Where is the bug?