splitch

DocsAPIEVENT_SCHEMA_MISMATCH.md

EVENT_SCHEMA_MISMATCH

HTTP status
400
Details payload
{ eventName: string, eventDefinitionVersionId: string, issues: Array<{ path: string[], message: string }> }

Cause

The Metric Event did not match the published Event Definition Version: a field or Dimension was unknown, missing, or the wrong type, or a JSON value violated its declared schema.

Fix

Send the declared fields and Dimensions with their published types and constraints. If the Metric Event shape has changed, publish a new Event Definition Version before sending that shape.

Related codes