• Resolved anujagr11

    (@anujagr11)


    Whenever I call the api It gives the following response back on using email as a valid parameters too and the email address exist in the wordpress/woocommerce

    {“code”:”invalid_username”,”message”:”Unknown username. Check again or try your email address.”,”data”:{“status”:401}}

    • This topic was modified 3 years, 9 months ago by anujagr11.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dominic_ks

    (@dominic_ks)

    Hu @anujagr11,

    Thanks for the report. Can you please tell me if you are getting this error when calling one of the API routes provided by this plugin and if so which one?

    This error is a WordPress error and not one generated by this plugin, and I’m not sure how it could return it unless it’s thrown somewhere by WordPress itself.

    Also, can you confirm that you are using a user’s email address to reset the password and that the email address you are providing does actually match a user registered in the WordPress install?

    Thanks,

    Thread Starter anujagr11

    (@anujagr11)

    Actually I was getting the error due to wordpress authentication problem. I was using invalid credentials in the api header. The problem has been solved Thanks for you reply

    Plugin Author dominic_ks

    (@dominic_ks)

    @anujagr11 OK glad you have resolved it, thanks for confirming!

    If you’re finding this plugin useful and wouldn’t mind leaving a review that’d be much appreciated!

    Thanks,
    Dominic,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Invalid UserName’ is closed to new replies.