udmi
udmi copied to clipboard
Issue with Validation Reports and New UDMI Version - named "state.out"
Hi Team,
I am facing an issue with validation reports using the new UDMI version. I encountered the following "state.out" error message. Could you please assist me in resolving this?
Payload Sent from the controller:
{ "version": "1", "timestamp": "2023-08-21T08:47:52.470Z", "system": { "serial_no": "", "last_config": "2022-06-02T09:00:43Z", "operational": true, "hardware": { "make": "LLBMS", "model": "Exhaust Fans", "sku": "", "rev": "" }, "software": { "firmware": "", "os": "" } } }
Validation Report at State.out
{ "timestamp" : "2023-08-21T11:39:58Z", "version" : "1.4.1", "sub_folder" : "update" "sub_type" : "state", "status" : { "message" : "missing pointset subblock", "detail" : "state_update: missing pointset subblock", "category" : "validation.device.schema", "timestamp" : "2023-08-21T11:39:58Z", "level" : 500 }, "errors" : [ { "message" : "missing pointset subblock", "detail" : "state_update: missing pointset subblock", "category" : "validation.device.schema", "timestamp" : "2023-08-21T11:39:58Z", "level" : 500 } ] }
Hello,
The error here is that the devices metadata here has a pointset, therefore it is required that the state message also includes the pointset blocks with the points the device is publishing data for. If the device does not have data points, then either add an emptoy pointsetblock or remove the pointset block from the metadata.json file.
This is not new UDMI behaviour, there was a bug in one version of the UDMI validator which did not raise this error
@noursaidi Hi Thanks for the Reply i will look into it and get back to you