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

hdr
Tera Contributor

Both computers and Mobile devices have stopped working. Same error (line 93 & 198) in the script include: JAMFDataSourceUtil.

I also updated the plugin to the latest version. previous (originally working : 2.11.0, new version: 2.12.1

Tested the credentials and JAMF endpoint using Postman.

I can get the records without any problem.

 

 In flow designer I can see the computer action that is used by Service Graph Connector for Jamf . This action uses /computers/subset/basic as endpoint. When trying this in Postman the first time it fails, second time it returns the expected results

can you share the script present on line 93 & 198 from the script include: JAMFDataSourceUtil.

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

these lines are the 'catch' commands.

To solve it, I had to change the JAMF setup to JAMF PRO API and then it worked again.

I had to change the JAMF setup to use Jamf API PRO and API version above ...

Then it worked again.