/build/static/layout/Breadcrumb_cap_w.png

KACE SMA API Error on Login Request

I'm using Postman to hit the KACE API with a logon request, and I'm just getting connection errors.  Per the documentation, I'm using http://[APPLIANCENAME]/ams/shared/api/security/login  for my post, with a body of {

"password" : "AdminPW",

"userName" : "admin",

"organizationName" : "Default”

}

If I navigate to that URL in browser, I get a SQL error:

An exception occurred while executing 'SELECT o0_.ID AS ID_0, o0_.NAME AS NAME_1, o0_.IS_ENABLED AS IS_ENABLED_2, o0_.IS_SYSTEM AS IS_SYSTEM_3, o0_.IS_DELETED AS IS_DELETED_4, o0_.SYNC_LOCATIONS AS SYNC_LOCATIONS_5, o0_.LOCATION_ATTRIBUTE_NAME AS LOCATION_ATTRIBUTE_NAME_6, o0_.PRIMARY_LOCATION_ID AS PRIMARY_LOCATION_ID_7 FROM ORGANIZATION o0_ WHERE (o0_.IS_SYSTEM = 0) AND (o0_.IS_DELETED=false) ORDER BY o0_.NAME ASC': SQLSTATE[42S22]: Column not found: 1054 Unknown column 'o0_.IS_ENABLED' in 'field list'


Any ideas?


We're using version 9.  API document I'm referencing is here: https://support.quest.com/technical-documents/kace-systems-management-appliance/9.0%20common%20documents/api-reference-guide#TOPIC-986137



0 Comments   [ + ] Show comments

Answers (1)

Posted by: isudothings 5 years ago
Senior Purple Belt
0

Have you tried it from the Powershell module?

https://github.com/ArtisanByteCrafter/KaceSMA

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