Quiz 6 Question 11 of 20

A legal document processing pipeline uses the Anthropic Batches API to process 500-document batches overnight. The system submits a batch at midnight and polls for results at 6 AM. Recently, the team discovered that batches are returning with a mix of 'succeeded' and 'errored' results — approximately 3-5% error rate per batch. The errored requests include a mixture of invalid_request_error and overloaded_error types. What is the correct handling architecture for production reliability?

Select an answer to reveal the explanation.

Motivation