claude-sdk-rate-limit-event-unknown-message-type-error
When iterating the Claude Agent SDK message stream with async iteration, newer SDK versions emit rate_limit_event message types that are not handled by basic iteration, raising Unknown message type: rate_limit_event. Fix by wrapping the async iterator with try/except or filtering stream events explicitly to only process text and message_stop types.
Related
- mcp-streamable-http-requires-sse-handshake
- 2026-04-04-oracle-001-self-architecture-analysis
- markit-sdk-hono-integration-patterns
- n8n-god-agent-mcp-rebuild-v5
- file-manager-rewrite-python-to-typescript-with-markit-sdk
- claude-agent-sdk-rate-limit-event-unknown-type-error
- claude-agent-sdk-rate-limit-event-breaks-async-iterator