# X_ACTION_FOREIGN

## Means

a value that is not an action was projected as one

## Typical cause

a hand-rolled object with `kind: 'action'`, or an action from a duplicated copy of `@ultimat3/action`

## Fix

declare it as `export const name = action({ input, output, policy, handle })`

[Actions](/error-codes#actions)
