# AuthAPI's resetPassword method doesn't throw exception when the user doesn't exist with given emailAddress

**URL:** <https://community.auth0.com/t/authapis-resetpassword-method-doesnt-throw-exception-when-the-user-doesnt-exist-with-given-emailaddress/9321>\
**Category:** Get Help\
**Tags:** reset-password, java, authapi\
**Created:** [January 29, 2018, 6:55pm UTC](https://community.auth0.com/t/authapis-resetpassword-method-doesnt-throw-exception-when-the-user-doesnt-exist-with-given-emailaddress/9321 "2018-01-29T18:55:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![priya.sharma.9362](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/priya.sharma.9362/32/14302_2.png) [@priya.sharma.9362](https://community.auth0.com/u/priya.sharma.9362)\
**Post date:** [January 29, 2018, 6:55pm UTC](https://community.auth0.com/t/authapis-resetpassword-method-doesnt-throw-exception-when-the-user-doesnt-exist-with-given-emailaddress/9321/1 "2018-01-29T18:55:03Z")

</div>

I was just running a use case to sent reset password link using the Java SDK. I have used the resetPassword method [here](https://github.com/auth0/auth0-java/blob/master/src/main/java/com/auth0/client/auth/AuthAPI.java)

On using an emailAddress with which no user has been registered. I could see a failed change password log on the dashboard. But I didn’ t get an exception at the method invocation end.

Is this the expected behavior or a bug?

---

<div class="post-metadata">

**Author:** ![priya.sharma.9362](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/priya.sharma.9362/32/14302_2.png) [@priya.sharma.9362](https://community.auth0.com/u/priya.sharma.9362)\
**Post date:** [January 29, 2018, 10:34pm UTC](https://community.auth0.com/t/authapis-resetpassword-method-doesnt-throw-exception-when-the-user-doesnt-exist-with-given-emailaddress/9321/2 "2018-01-29T22:34:04Z")

</div>

We had discussion regarding this [here](https://github.com/auth0/auth0-java/issues/103)  
This is perhaps a desired feature of Auth0.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 25, 2019, 9:46am UTC](https://community.auth0.com/t/authapis-resetpassword-method-doesnt-throw-exception-when-the-user-doesnt-exist-with-given-emailaddress/9321/3 "2019-07-25T09:46:42Z")

</div>


