mm2270/Casper-API

Parser error: Getting all JSS policy ID's

chriszanf opened this issue · 0 comments

I am getting the following error when using 'Create-JSS-Policy-Scope-Report.sh'. If I manually look at an API URL with a policy ID, I can see the XML data.

Stage 1: Creating directory structure...

Stage 2: Getting all JSS policy IDs...
-:1: parser error : Document is empty

^
Placing all policy names and IDs into arrays...

The end spreadsheet is then obviously empty.

Some info:
JSS: 9.10
MacOS 10.12