Posted on 05-18-2020 10:56 AM
Looking to the community to see if anyone can assist me. Created a new policy running a bash script. After it runs in JAMF there is often a failure.
Log readout:
Retrieving inventory preferences from https://*****.jamfcloud.com/...
Finding extension attributes...
Locating accounts...
Locating hard drive information...
Locating applications...
Locating package receipts...
Locating software updates...
Searching path: /System/Applications
Locating fonts...
Locating printers...
Locating plugins...
Searching path: /Library/Internet Plug-Ins
Searching path: /private/var/jamf-admin/Library/Fonts
Searching path: /Library/Fonts
Searching path: /Users/username/Library/Fonts
Searching path: /System/Library/Fonts
Searching path: /Library/Application Support/Adobe/Fonts
Searching path: /Applications
Locating hardware information (Mac OS X 10.15.4)...
Gathering application usage information...
Submitting data to https://*****.jamfcloud.com/...
There was an error.
Connection failure: "The operation couldn’t be completed. ( error 502.)"
Error running script: return code was 1.
I can't seem to determine what to do with this or how to fix it. It fails and completes on different occasions. If I run the Bash script locally through terminal there are no errors so my thinking is that something is wrong with JAMF of the policy itself.