Updating a users email

Updating user emails has worked for us in the past but recently stoped working. the error message is “statusCode”: 400,
“error”: “Bad Request”,
“message”: “The connection (NameOfMyConnection) does not exist.”,
“errorCode”: “inexistent_connection”
But my connection does exist by that name. any thoughts?

Hi @tanner1,

Welcome to the Auth0 Community!

I understand that you have been encountering problems with updating your user’s email address.

After testing this myself, I was able to reproduce your error when using an invalid connection name. I was also able to successfully update the user’s email when using a valid connection name.

Given that, I believe that the source of the issue has to do with the value you used for your connection property. I recommend that you double-check that you are using a valid connection name that exists on your tenant.

By default, you should have a Username-Password-Authentication connection which you can create a test user and test it out to verify.

Please let me know if there’s anything else I can do to help.

Thank you.

It looks like the user/email did not exist but the error message said the connection did not exist. It sounds like the error message needs to be corrected.

Hi @tanner1,

Thank you for your response.

I have tested your observations and did not find the same results.

When I try to update a user that does not exist, I am faced with the “The user does not exist” error.

Similarly, when I use a connection that doesn’t exist, I get the “The connection (nonexistentconnection) does not exist” error.

Finally, I managed to update the user’s email when I have both a user and connection that exists.

Hoped this helps!

Thank you.

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