# X_ADMIN_ACTION_NOT_APPLICABLE

## Means

an admin action was run on a row its when() rule excludes

## Typical cause

the row changed state after the button rendered, or the call was forged for a row the action does not apply to

## Fix

`x manifest --json` — `admin[].resources[].actions` marks the action `when: true`; re-read the row (the detail page, or the `admin.<entity>.read` tool) and run the action only while its `when()` holds

[Admin and manifest](/error-codes#admin-and-manifest)
