/build/static/layout/Breadcrumb_cap_w.png

When I am making a get request on postman with the url : /ams/shared/api/accounts the response is showing :"errorCode": -1, "errorDescription": "The request has not been authenticated. Allowed secure types for the resource are: ''."

The Headers include :

◦ Content-Type :application/json

◦ Accept  :application/json

◦ x-kace-csrf-token: ###################################

◦ x-kace-api-version:13


1 Comment   [ + ] Show comment
  • Any updates on this? I'm getting the same error making this call:

    https://kace.HOSTNAME.com/ams/shared/api/organizations

    I'm passing headers and cookies:

    -H "x-kace-api-version:13" -H "Accept: application/json" -b "x-kace-auth-jwt=..." -H "x-kace-authorization: ..."

    (h-kace-csrf-token no longer required according to docs for newest API). I can make other calls like /api/users/users/ and /api/service_desk/queues just fine and get JSON response, but some other calls like this organizations call return that error you're getting. And other calls like /api/service_desk/tickets return "Unknown Organization database". The API seems very inconsistent from call to call for some reason. Just digging for answers still... if you solved this one, @jagriti, please reply, thanks! - adubry 8 months ago

Answers (0)

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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