Recieve error message when setting up Service Graph Connector for jamf

Mitch Moran
Tera Contributor

When configuring the Service Graph Connector for jamf we receive the following error message when trying to connect to the jamf application. 

 

"org.mozilla.javascript.JavaScriptException: Error: Unable to make a connection to JAMF API call. Please check your credential configuration. Check system log for more details. HTTP return status code was -1 (sys_script_include.3fa7da3673b210104ae4b41afaf6a727.script; line 93)"

 

We are using a local user account and have confirmed it has the privileges it needs to load the data, any guidance on how to remediate this error would be much appreciated.

 

Thank you!

8 REPLIES 8

sushantmalsure
Mega Sage
Mega Sage

Check the JAMF api documentation as well.

 

https://developer.jamf.com/jamf-pro/docs/jamf-pro-api-overview

 

Also there is option to run in postman, you can start with that first and then do it from servicenow (at least the authentication part) by using get method.

 

This might be related to 'Privilege requirements' specified here along with local user : https://developer.jamf.com/jamf-pro/docs/classic-api-minimum-required-privileges-and-endpoint-mappin...

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

I am having a similar issue.  We are setting this up to move to production. It was running in Dev.  It seemed to stop working for computer devices though it does work for mobile devices.  We are using JAMF Pro in the cloud.  We have been trying to get it running again.  The credentials work, though we tried new credentials anyway. Tried using JAMF classic.  (Though we have JAMF Pro).  I am not sure on which side the error lives - JAMF or ServiceNow.  We are hung up on this right now. 

 

org.mozilla.javascript.JavaScriptException: Error: Unable to make a connection to JAMF API call. Please check your credential configuration. Check system log for more details. HTTP return status code was 500 (sys_script_include.3fa7da3673b210104ae4b41afaf6a727.script; line 57)

Hello Karen

Looking into error message it states it has to something with credentials.

2 things to check , are you using correct user ID and password ? if answer is yes, then check the permissions / privilege requirements for the user you are using to perform this opertaion at JAMF. I believe this is at JAMF side and not servicenow.

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

shraddha16
Tera Contributor

Hi @Karen Warren , were you able to find the cause of this issue and fix it? We are getting the same error in production