Quiz 1 Question 9 of 20

An architect is designing the Messages API integration for a streaming chatbot. The frontend displays tokens as they are generated. After receiving a message_start event, the client receives repeated content_block_delta events, then unexpectedly receives an error event mid-stream. What is the correct handling strategy?

Select an answer to reveal the explanation.

Motivation