The GoTo Community is currently experiencing some technical issues affecting new posts and comments. We are actively working with our service provider and apologize for the frustration.

Forum Discussion

mparon's avatar
mparon
Active Contributor
6 years ago
Solved

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.

1 Reply

  • mparon's avatar
    mparon
    Active Contributor
    6 years ago

    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.