Posted on 04-13-2017 11:26 AM
I tried to run this script, but I'm getting this error
root@casper:/home/casperadmin/Scripts# python updateDeviceInventoryBySmartGroup.py
Getting device list from the JSS...
Exception decoding JSON: No JSON object could be decoded
Any idea what's going wrong? I know nothing of the programming behind all this. It's on a Debian 8 VM. If it makes a difference, I left the "jss_path" variable blank, because our JSS URL doesn't have anything after the port
Thanks!
Posted on 04-14-2017 10:40 AM
Hey @alex.wyatt nice to see someone using the script!
Try confirming that the jss_smart_group_id variable at the top matches a valid group in the server.
Posted on 04-18-2017 07:39 AM
@Bram.Cohen in addition to the email reply I just sent you, I just tried the URL you've put in here, and it works fine. Should have mentioned that in the email!