Auth0 Home Blog Docs

Unable to update user's email address



We are trying to call the!/Users/patch_users_by_id to update a users email.

For some reason when we invoke the above api to update a users email, it calls the GET user script on our custom database. This makes no sense as we have the toggle button enabled to automatically migrate users to auth0 when they login.

We can use any help we can get


Can you share with us the code you’re using (remove any identifiable bits) so that we can help you troubleshoot?


This issue was resolved through support, however I’d like to share the details here for future developers who encounter this issue.

Even though the user being updated has already been migrated, if we are changing the email address then the get user scripts will be invoked in order to check that the new email is NOT associated to a user that hasn’t been migrated yet.


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