Unable to register an action for password-reset-post-challenge

Hi, i am unable to create an action for the trigger: password-reset-post-challenge. I have tried both, password-reset-post-challenge & post-challenge. I am using the CLI to deploy my changes. This pipeline already deploy ~20 actions successfully.

  • name: sample
    code: ./actions/sample/code.js
    deployed: true
    runtime: node18
    status: built
    supported_triggers:
    - id: post-challenge
    version: v2

The error from my pipeline:

2025-08-29T05:18:27.915Z - error: Problem running command import during stage processChanges when processing type actions.
2025-08-29T05:18:27.915Z - error: Problem creating actions {“name”:“sample”}
ManagementApiError: This trigger is not supported.

Hi @Davidson.Mohanty

Welcome back to the Auth0 Community!

Thank you for posting your question. I’m not 100% sure, but the issue may be with the trigger ID. Can you try to put password-reset-post-challenge instead of post-challenge?

Let me know if this solved the issue.
Dawid

Hi @dawid.matuszczyk Thank you for taking the time and responding.

I have tried both ‘password-reset-post-challenge’ and ‘post-challenge’ and it is failing.

This is my action:
(please keep in mind i have also tried onExecutePostChallenge without any success)

exports.onExecutePasswordResetPostChallenge = async (event, api) => {
if (condition) {
api.access.deny(“”);
}
};

Can you share in the DM with me your tenant’s name?

I have sent the tenant’s name over DMs.

1 Like

I finally managed to get it running by changing this version to v1 ! Thank you @dawid.matuszczyk for your patience while i got this working.

1 Like