FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Constantly getting statusCode 401 on password change

    Scheduled Pinned Locked Moved Unsolved Q&A
    2 Posts 2 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      merim.2805
      last edited by

      I can't figure out why am I getting the error, it works with login, do we pass the API key id or the secret value:

      7d662a77-8373-48d6-927b-3166aeffb849-image.png

      Here is how I'm trying to change the password:

          ...req.body,
          applicationId: config.APP_ID,
        })```
      
      In the body I have `password` and `currentPassword` and `loginId`. Also, the API key permission for the change is given.
      danD 1 Reply Last reply
      Reply Quote 1
      • danD
        dan @merim.2805
        last edited by

        @merim-2805

        Can you please provide:

        • what version of FusionAuth you are using
        • an example of the code you are calling to do this action and the response you are seeing
        • what FusionAuth documentation, if any, you're referencing

        Thanks!

        --
        FusionAuth - Identity Without Constraints
        https://fusionauth.io

        1 Reply Last reply
        Reply Quote 0
        • danD dan moved this topic from Q&A on
        • danD dan moved this topic from Frequently Asked Questions (FAQ) on

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post