Hey team, I am trying to send an API request to pull some details, but it keeps coming back with 401 (invalid credentials) error. I do not see any “enable” option either. Is there something I need to turn on, or how do I fix this?
Hey team, I am trying to send an API request to pull some details, but it keeps coming back with 401 (invalid credentials) error. I do not see any “enable” option either. Is there something I need to turn on, or how do I fix this?
It sounds like the token might not be valid anymore. I’ve had that happen when mine expired. Did you check if the credentials you’re using are correct?
Hello everyone, thanks for raising this.
The 401 (invalid credentials) error typically occurs if the API token is incorrect or has been revoked. Please verify that the credentials you entered are accurate. If the issue persists, you can reset the token as follows from within the Hexnode UEM console:
Once you update your request with the new token, the API should respond correctly.
Regards,
Simon Scott
Hexnode UEM
Ah, I see now. some brackets were not in the right place in my request formatting!
Thanks, @simon_scott !
Don't have an account? Sign up