Flashcardsfor IT Certifications

D4: API Error Types & Recovery

Claude Certified Developer – Foundations exam practice questions · 11 flashcards

Question
What does HTTP 400 (invalid_request_error) mean?
1 / 11

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 11 API Error Types & Recovery practice questions and answers
  1. What does HTTP 400 (invalid_request_error) mean?
    The request is malformed or invalid; fix it, don't retry unchanged.
  2. What does HTTP 401 mean?
    Authentication failed: missing or invalid API key.
  3. What does HTTP 403 mean?
    Permission error: the key lacks access to that resource.
  4. What does HTTP 413 mean?
    Request too large.
  5. What does HTTP 429 mean and how do you recover?
    Rate limit exceeded; wait (respect retry-after) and retry with exponential backoff.
  6. What does HTTP 529 mean?
    Overloaded: the API is temporarily overloaded; retry with backoff.
  7. What does HTTP 500 mean?
    Internal API error; usually safe to retry with backoff.
  8. What is exponential backoff with jitter?
    Waiting increasingly longer between retries, plus randomness, to avoid synchronized retry storms.
  9. Do the official SDKs retry automatically?
    Yes, retryable errors are retried a few times by default (configurable).
  10. Which errors should NOT be retried as-is?
    400, 401, 403 and 413: they need a fix, not a retry.
  11. What fallback strategies exist when retries fail?
    Queue for later, use a different model, return a graceful error, or degrade functionality.