Service Graph Connector for Jamf Problem: Could not find path in stream

milesclark
Tera Contributor

We're attempting to incorporate Mac and iOS devices into the CMDB via the Service Graph Connector for Jamf.

We've walked through the Jamf SG setup, everything went fine until we tested the connection. When using the Pro API, we get the following error:

Error executing script : org.mozilla.javascript.JavaScriptException: java.lang.RuntimeException: com.glide.transform.transformer.exceptions.InvalidPathException: Could not find path in stream: $.results

If we use the classic api, the call succeeded.

We have ensured that the Base Path is clear in both instances.

Any idea what might be going on?

Thank you!

7 REPLIES 7

Not applicable

Is your Jamf instance that you are connecting to a Jamf pro instance?  It may be that you only have a basic Jamf instance.

Other than that please refer to this article for help troubleshooting.

milesclark
Tera Contributor

Thanks.  It is an on-prem pro instance.  I'll walk through the troubleshooting article.  Thanks again!

Not applicable

An on prem instance likely needs to go through a mid server.  For the http_connection check to make sure the use mid server is checked and that a specific mid server with access to that network is selected.  The auto select mid server may not always work.

milesclark
Tera Contributor

I tested it with "use mid server" checked and a specific mid server selected.  Same result:

Name: ImportProcessor
State: Cancelled
Completion Code: Success
Message: org.mozilla.javascript.JavaScriptException: java.lang.RuntimeException: com.glide.transform.transformer.exceptions.InvalidPathException: Could not find path in stream: $.results