When using the API to add a device, the default for IOS Version and OS type are null.
Without these values in the DB, the node details fail to display.
Perhaps a default value of Unknown would be better.
My instance: we use Juniper SRX210 devices and the OS Type and Version are part of the description string.