Title: Reset Password &#8211; Code is always invalid
Last modified: August 11, 2021

---

# Reset Password – Code is always invalid

 *  Resolved [arramell](https://wordpress.org/support/users/arramell/)
 * (@arramell)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/reset-password-code-is-always-invalid/)
 * Great plugin!
 * I’m implementing the reset password flow and seem to get into trouble with the
   code. I’m using postman to test this – but when I use the code that is sent to
   the email, the code I use every time returns a failure.
 * {
    “success”: false, “data”: { “message”: “Invalid code provided.”, “errorCode”:
   62 } }
 * Does it work for anybody else?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Nicu Micle](https://wordpress.org/support/users/nicu_m/)
 * (@nicu_m)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/reset-password-code-is-always-invalid/#post-14904248)
 * Hello [@arramell](https://wordpress.org/support/users/arramell/),
 * Please send the code in the Request body(and not as a query string), so that 
   the special characters are not URL encoded.
 * The URL should look like this:
 *     ```
       https://{{yoursite}}/?rest_route=/simple-jwt-login/v1/users/reset_passwor
       ```
   
 * and in the body of the request you add the following parameters:
 *     ```
       {
         "email": "your_email",
         "code" : "your_code",
         "new_password" : "your_new_password",
         "AUTH_KEY": "your auth key if required"
       }
       ```
   
 * Let me know if you still encounter problems.
 * Best regards,
    Nicu.
 *  [nadavmoreno2](https://wordpress.org/support/users/nadavmoreno2/)
 * (@nadavmoreno2)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/reset-password-code-is-always-invalid/#post-15327420)
 * Hi
 * Still not working for me..
    [@arramell](https://wordpress.org/support/users/arramell/)
   did [@nicu_m](https://wordpress.org/support/users/nicu_m/) solution worked for
   you?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Reset Password – Code is always invalid’ is closed to new replies.

 * ![](https://ps.w.org/simple-jwt-login/assets/icon-256x256.png?rev=2106097)
 * [Simple JWT Login – Allows you to use JWT on REST endpoints.](https://wordpress.org/plugins/simple-jwt-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-jwt-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-jwt-login/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-jwt-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-jwt-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-jwt-login/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [nadavmoreno2](https://wordpress.org/support/users/nadavmoreno2/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/reset-password-code-is-always-invalid/#post-15327420)
 * Status: resolved