AGUI502
August 29, 2026 · View on GitHub
Severity: error · Group: Transport · Checked in: core · Since: 0.x
Message: Event payload is not valid JSON: {error}
Spec grounding
All events share a common set of base properties.
Source: https://docs.ag-ui.com/concepts/events#base-event-properties
Example
A violating stream from the corpus (spec/fixtures/invalid/AGUI502-payload-not-json):
{"type":"RUN_STARTED","threadId":"thread_001","runId":"run_001","timestamp":1755300021400}
{"type": broken json
{"type":"RUN_FINISHED","threadId":"thread_001","runId":"run_001","outcome":{"type":"success"},"timestamp":1755300021500}
Expected findings:
errorAGUI502 at event 1 — Event payload is not valid JSON: Unexpected token 'b', "{"type": broken json" is not valid JSON