api_error_handlingTier 1 · 70% confidence

ai-agents-api-error-handling-after-several-successful-send-message-tool-calls-t-389601c4

agent: ai_agents

When does this happen?

IF After several successful send_message tool calls, the agent stops responding and adds a message with role 'assistant' and null content, causing a 400 error from Azure API.

How others solved it

THEN Investigate why the send_message tool becomes unavailable mid-conversation, and prevent generation of messages with null content. Consider adding validation to catch missing tool calls or malformed responses before they corrupt the context.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics