We are experiencing intermittent but increasingly frequent failures when running agents on Azure AI Foundry. Agents that were working correctly in the same environment, with no code or schema changes, suddenly started failing with the following error:
The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
Key points:
We are using structured output with a stable schema that has not changed.
The client, configuration, and environment are unchanged.
The error appears to be caused by the runtime receiving an empty or non-JSON response when a final JSON block is expected.
The issue occurs both via the Agent Framework / SDK (e.g. ChatAgentClient with RunAsync) and sometimes directly in the portal, suggesting it is not limited to client-side code.
Failures are intermittent (agents may work and then fail for extended periods), which points to possible service instability or regional issues rather than deterministic bugs.
Similar reports from other users indicate upstream empty responses, transient 5xx errors, or internal service regressions.
We are unable to find any corresponding incident or degradation reported on the Azure Status page or Foundry forums. Is this a known issue or ongoing incident with Azure AI Foundry (agents, model routing, or streaming/final block handling)? Are there recommended mitigations or regions/models to avoid while this is being investigated?