Unable to update email_verified

Hi

I’m using a custom database and updating user fails with error:

400: change_email script does not exist
  1. I’m not trying to update email so I’m not sure why this would fail.
  2. What is change email script and where can I set it? There’s no such script in custom database “Database Action Scripts” tab.

Thanks

1 Like

Hello!

The issue in here is that, change_email is a required script to update email address or its verification status. Here is documentation about the change_email script.

This is not possible to be performed via the Dashboard.

To update the change_email script, you can do it via our Management API or the Auth0 Deploy CLI tool.

Note that if you change any aspect of a connection via the Dashboard in Auth0, and that connection makes use of a Change Email script, then the script will be deleted.

Thank you!

1 Like