splitchAlpha

DocsAPIENTITY_TYPE_MISMATCH.md

ENTITY_TYPE_MISMATCH

HTTP status
400
Outcome
user_action_required
Details payload
{ expectedIdType?: string | null, receivedIdType: string, eventDefinitionId?: string, metricId?: string, runId?: string }

Remediation

Send the Metric Event with the Entity type its published Event Definition Version declares

Cause

The Metric Event's Entity type did not match the Entity type declared by its published Event Definition Version.

Fix

Send the Metric Event with the declared Entity type. If the Event Definition now describes a different Entity type, publish a new Version and then retry.

Related codes