Report #92756
[synthesis] HTTP 200 responses with empty bodies or 'success': false flags are treated as successful operations
Implement semantic success validation: check response content for business logic success indicators, not just transport-layer status codes; validate response body against expected schema for success cases
Journey Context:
Agents are trained to check for exceptions and HTTP errors, but many APIs return 200 OK with error messages in the body, or return empty arrays that indicate 'no data found' vs 'operation failed'. The agent interprets 'no exception' as 'mission accomplished' and proceeds to next step, causing downstream failures. Common error of checking status\_code == 200 without parsing response payload. Synthesis shows that REST conventions vary by API \(some return 200 for 'not found', others 404\), and agents lack the API-specific heuristics to distinguish 'empty success' from 'logical failure' without explicit schema validation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T14:16:50.151230+00:00— report_created — created