# Execution of an Action failed / actions\_execution\_failed / platform\_error

**URL:** <https://community.auth0.com/t/execution-of-an-action-failed-actions-execution-failed-platform-error/204486>\
**Category:** Get Help\
**Tags:** action-execution, actions\
**Created:** [October 20, 2026, 3:44pm UTC](https://community.auth0.com/t/execution-of-an-action-failed-actions-execution-failed-platform-error/204486 "2026-10-20T15:44:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsoref](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jsoref/32/12921_2.png) [@jsoref](https://community.auth0.com/u/jsoref)\
**Post date:** [October 20, 2026, 3:44pm UTC](https://community.auth0.com/t/execution-of-an-action-failed-actions-execution-failed-platform-error/204486/1 "2026-10-20T15:44:51Z")

</div>

We periodically see errors like this:

```json
{
  "type": "actions_execution_failed",
  "description": "Execution of an Action failed",
  "client_id": "...",
  "client_name": "...",
  "connection": "Username-Password-Authentication",
  "connection_id": "...",
  "details": {
    "action_id": "...",
    "action_name": "...",
    "binding_id": "...",
    "error_class": "platform_error",
    "execution_id": "68c72e52-44d3-4320-b66d-cc192f6937a0",
    "trigger_id": "post-login",
    "version_id": "59ca304f-4873-4a9d-8fe5-0799ad8c04b3"
  },
  "hostname": "...",
  "ip": "...",
  "strategy": "auth0",
  "user_agent": "...",
  "user_id": "...",
  "user_name": "...",
  "identity_user_id": "...",
  "$event_schema": {
    "version": "1.0.0"
  },
  "date": "2026-10-20T07:52:12.880Z",
  "environment_name": "...",
  "log_id": "90020261020075213031930000000000000001223372191392303155",
  "tenant_name": "...",
  "_id": "90020261020075213031930000000000000001223372191392303155",
  "isMobile": false,
  "location_info": {},
  "id": "90020261020075213031930000000000000001223372191392303155"
}

```

The errors are fairly useless.

I have one from April 3, another from April 10 (which I looked into a bit), more from July 14, 16, and 17, some from Oct 7 and 8, and now one from today.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [October 20, 2026, 10:08pm UTC](https://community.auth0.com/t/execution-of-an-action-failed-actions-execution-failed-platform-error/204486/3 "2026-10-20T22:08:25Z")

</div>

Hi @jsoref

You are asking why your Post-Login Action periodically fails with an `actions_execution_failed` event and an `error_class` of `platform_error`, and why the log entry gives no detail about the cause.

**Root Cause:** A `platform_error` usually means the Action stopped before it finished. The most common cause is an unhandled exception or a rejected Promise inside the Action, such as a failed call to the Management API or an external service that the Action does not catch. The log entry records only that the execution failed, so the specific error must be found in the Action's own logs.

**Solution:** Make every asynchronous call in the Action handle its own errors, then find the detailed error for each failed execution.

1. **Locate** the failing execution in the Dashboard logs. Use the `execution_id` (68c72e52-44d3-4320-b66d-cc192f6937a0 in the example you shared) and the `action_id` from the event to find the matching Action run. Open the Action's real-time logs or the Action execution logs for the same time window.
2. **Add** `await` to every Promise-based call in the Action, including Management API calls and HTTP requests. A call without `await` can fail after the Action has already returned, and the failure is reported as a platform error.
3. **Wrap** each external call in a `try/catch` block. In the catch block, call `console.error` with the error message so the failure appears in the Action logs, and decide whether to allow the login or deny it with `api.access.deny`.
4. **Set** a timeout for external calls. If your backend or a third-party service is slow, the Action can exceed its execution limit and fail. Keep each call short and handle the timeout explicitly.
5. **Confirm** the Action's secrets and dependencies are set and that the Action version in the event (59ca304f-4873-4a9d-8fe5-0799ad8c04b3) matches the version you deployed.

Please follow up if you need further assistance reviewing the Action code.

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 30, 2026, 10:08pm UTC](https://community.auth0.com/t/execution-of-an-action-failed-actions-execution-failed-platform-error/204486/4 "2026-10-30T22:08:37Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
