# X_ADMIN_RESOURCE_UNWIRED

## Means

an admin override x g wrote is not in the app's defineAdmin() call

## Typical cause

x g resource --admin writes the override and lists it under resources: in apps/admin/app/admin/admin.ts; that file is missing or holds no defineAdmin({ … }) call the generator can add to

## Fix

`x g resource widget --admin --dry-run --json` — lists the files; the finding names the two lines to add to apps/admin/app/admin/admin.ts

[CLI and verify](/error-codes#cli-and-verify)
