Hi,
After running auth0-deploy-cli import, the GET /api/v2/actions/actions
endpoint consistently returns 500 Internal Server Error.
(I will share tenant details and specific resource names/IDs via DM.)
Root cause (investigated):
Several actions have stale references to an Action Module that was
deleted during the import process. The deleted module’s FK reference
remains in the actions’ database records, causing a JOIN failure on
the list endpoint.
Evidence:
- GET /api/v2/actions/actions → 500
- GET /api/v2/actions/actions?deployed=true → 200 (works for deployed actions only)
- GET /api/v2/actions/actions?deployed=false → 500
- POST /api/v2/actions/actions with an existing action name → 409 Conflict
(actions still exist in DB but cannot be retrieved or updated via API) - GET /api/v2/actions/modules → 200, empty list (module was deleted)
What I need:
Please clear the modules field for the affected actions so the
GET /api/v2/actions/actions endpoint recovers.
Or alternatively, provide the action IDs so I can PATCH them myself
via the Management API.
Thank you.