/build/static/layout/Breadcrumb_cap_w.png

Receiving 401 Unauthorized Error with JWT Authentication

Subject: Receiving 403 forbidden Error with JWT Authentication

Description: I am experiencing a 403 forbidden error when trying to access various endpoints of the KACE API. 

  • Error Received403 forbidden
  • Response Body:
    {    "errorCode"-1,
        "errorDescription""Unauthorized"}
  • API Endpoint: Various endpoints requiring authentication
  • Authentication Method: JWT token
  • KACE Version: 13.2.182

0 Comments   [ + ] Show comments

Answers (2)

Posted by: KevinG 2 weeks ago
Red Belt
0

I verified that the following API calls work on 13.2.

-->http://url/api/users/users

-->http://url/api/inventory/processes

-->http://url/api/asset/assets

-->http://url/api/inventory/services

You may want to set up a dev SMA without 2FA to retest. Use the SMA admin user while testing.

If you still have an issue, put your API calls into a Postman collection and post the exported JSON file.

Posted by: KevinG 3 weeks ago
Red Belt
-1

What are you using to send the API request?
What was the API call when you received the error?

What are the header and params?

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ