---
title: RELKIT_EVENT_TARGET_INCOMPATIBLE
description: "Event trigger targets a regular function."
pagination: false
search:
  keywords: [RELKIT_EVENT_TARGET_INCOMPATIBLE]
sidebar:
  icon: triangle-alert
---

{/* Generated by apps/docs/scripts/generate.ts. Do not edit. */}

**Event trigger targets a regular function.**

## What happened

An event trigger points at a function that is not an event function.

## What to do

Point the trigger at a function made with `defineEventFunction`.

Reported by `@relkit/cli`, `relkit/diagnostics`.

See [all error codes](/docs/errors).
