# EVENT_DEFINITION_UNPUBLISHED

- Surface: API
- HTTP status: 409
- Details: `{ eventDefinitionId: string, eventName: string }`

## Cause

The Event Definition exists, but it has no published Version that can validate and stamp the Metric Event.

## Fix

Publish an Event Definition Version with the intended Entity, field, and Dimension contract, then retry the Metric Event unchanged.

## Related

- [EVENT_DEFINITION_NOT_FOUND](https://splitch.dev/docs/error/EVENT_DEFINITION_NOT_FOUND)
- [EVENT_DEFINITION_IMMUTABLE](https://splitch.dev/docs/error/EVENT_DEFINITION_IMMUTABLE)
- [EVENT_SCHEMA_MISMATCH](https://splitch.dev/docs/error/EVENT_SCHEMA_MISMATCH)

Source: https://splitch.dev/docs/error/EVENT_DEFINITION_UNPUBLISHED