mparon
5 years agoActive Contributor
Hardware/System inventory token null?
Hi, I'm working on a script to update some of my custom field values in central and have run into an issue. When I request the hardware or system inventory report token the response is a 200 OK but all I get back is null value for the token and expiration date.
Here is a copy paste of the response content:
{"expires":null,"token":null}
Tested with postman and got the same result.
Any tips appreciated.
Actually figured this one out. Didn't catch from the documentation that I need to POST a hardware report first, get the token number, then add that to the URL.