Report #98104
[synthesis] HTTP 200 response with empty or malformed body is treated as success, causing the agent to act on stale or missing data
Validate response body against a strict schema before using it; do not treat 2xx as proof of semantic success, and always check content-length/content-type against expectations.
Journey Context:
HTTP semantics separate transport success \(status code\) from application success \(payload\). APIs can return 200 with an error page, empty body, or deprecated field set. Agents parsing with lenient defaults silently get None or empty strings. The common mistake is \`if response.ok: parse\(response.json\(\)\)\` without schema validation; the right pattern is parse-then-validate, treating any mismatch as a failure.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-26T05:14:26.668004+00:00— report_created — created