When clicking on the Force Inventory button from a Device Detail (inventory) page, the error "Oops! Something went wrong." is displayed. When clicking on the More Info button on that page, the following PhP error is observed:
PHP Error: Uncaught Error in /kbox/kboxwww/include/Machine.class.php on line 261: Call to a member function SetLocationId() on null
Please use the following steps to ensure an asset is created for each device:
Note: The default for Mapped Inventory Field is System Name
Note: The Force Inventory button may not immediately work after the above change, as the asset is not created until the next inventory. Please wait at least 3x the inventory interval or force inventory locally using a runkbot command.
If the device already has an asset and the error continues, please contact support for assistance.