ACC passes two USB disks with identical device_id + serial_number, but different names, to IRE, causing duplicate payload errorDescriptionACC Host data collection/Enhanced discovery can pass an IRE payload that contains multiple disks (cmdb_ci_disk) with identical device_id + serial_number, but different names. There is no out-of-box IRE identifier for this situation. There is an identifier entry on cmdb_ci_storage_device the for device_id + serial_number, but not one for device_id + serial_number + name. This has been seen for a "Generic MassStorageClass USB Device" USB enclosure containing 2 disks. Steps to Reproduce Reproduced with ACC-F 3.0.0, AC-V 3.0.0Install ACC on a computer that has a "Generic MassStorageClass USB Device" containing 2 disks.Run Host Data Collection The normal errors are given for any failed host detection due to IRE issues: Note: Seeing these does not necessarily mean it is this specific PRB, just that there is an problem with the IRE payload.Error Agent Client Collector Framework [e372fe3319d1e875]: In MainDiscoveryHandler.addDataIntoCMDB() IRE failed. e=Cannot read property "sysId" from undefinedError Agent Client Collector for Visibility [e372fe3319d1e875]: In EnhancedDiscoveryHandler.postIreEnrichDiscovery() CI sys_id is 'undefined' hence abort inserting other CIsWarning Agent Client Collector for Visibility [e372fe3319d1e875]: In EndpointDiscoveryStorageDeviceHelper.getModelandManufacturerSysIds() manufacturer/modelId info is null in payloadError identification_engine : logId:[b6ea09664767] Detected error while processing payload from Manual Entry. Using options: {partial_payloads:false,partial_commits:false,deduplicate_payloads:false,generate_summary:false,dynamic_ire_engine:false}: no thrown errorError Agent Client Collector for Visibility [e372fe3319d1e875]: Exception in EnhancedDiscoveryHandler.preIreAddDataToPayload() for network_adapters : : TypeError: Cannot read property "length" from undefined Identification engine debug shows the cause DUPLICATE_PAYLOAD_RECORDS: two USB disks with identical device_id + serial_number, but different names to IRE, causing duplicate payload error: Input = {"items":[{"className":"cmdb_ci_computer","values":{"os_address_width":"64","default_gateway":"192.168.1.254","virtual":"false","chassis_type":"Notebook","os_domain":"...","cpu_manufacturer":"576d904e1b2fa410dd47766f034bcba6","cpu_core_thread":"2","manufacturer":"cdc91802db6be410c27a11c81396193f","cpu_count":"1","cpu_type":"GenuineIntel","install_date":"2021-07-18 19:20:15","ram":"16384","start_date":"2022-12-03 23:03:45","cpu_name":"Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz","os":"Windows 10 Enterprise","fqdn":"... ...,{"className":"cmdb_ci_disk","values":{"storage_type":null,"short_description":"Generic MassStorageClass USB Device","size_bytes":"0","device_id":"{1}\\\\...\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Disk.ObjectId=\"{64d1eb73-e861-11eb-b69f-806e6f6e6963}:DI:\\\\?\\usbstor#disk&ven_generic&prod_massstorageclass&rev_1539#000000001539&1#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\"","device_lun":"1","serial_number":"000000001539","disk_space":"0","sys_class_name":"cmdb_ci_disk","device_bus_id":"0","device_target_id":"0","vendor":"","name":"Disk #2","device_interface":"usb","device_major_minor":"","device_host_id":"0"},"sys_object_source_info":{},"sys_ire_info":{}},{"className":"cmdb_ci_disk","values":{"storage_type":null,"short_description":"Generic MassStorageClass USB Device","size_bytes":"0","device_id":"{1}\\\\...\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Disk.ObjectId=\"{64d1eb73-e861-11eb-b69f-806e6f6e6963}:DI:\\\\?\\usbstor#disk&ven_generic&prod_massstorageclass&rev_1539#000000001539&1#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}\"","device_lun":"0","serial_number":"000000001539","disk_space":"0","sys_class_name":"cmdb_ci_disk","device_bus_id":"0","device_target_id":"0","vendor":"","name":"Disk #1","device_interface":"usb","device_major_minor":"","device_host_id":"0"},"sys_object_source_info":{},"sys_ire_info":{}},... Output = {"items":[{"className":"cmdb_ci_computer","sysId":"Unknown","identifierEntrySysId":"Unknown","errors":[{"error":"ABANDONED","message":"Abandoned due to too many errors"}],"identificationAttempts":[],"info":[],"errorCount":1,"markers":[],"warningCount":0,"inputIndices":[0],"mergedPayloadIds":[]},{"className":"cmdb_ci_disk","sysId":"Unknown","identifierEntrySysId":"Unknown","errors":[{"error":"DUPLICATE_PAYLOAD_RECORDS","message":"Found duplicate items in the payload (index 1 and 2), using className [cmdb_ci_storage_device] and fields [device_id,serial_number]. Remove duplicate items from the payload"}],"identificationAttempts":[],"duplicateIndices":[2],"info":[],"errorCount":1,"markers":[],"warningCount":0,"inputIndices":[1],"mergedPayloadIds":[]},...WorkaroundThis problem is currently under review and targeted to be fixed in a future release. Subscribe to this Known Error article to receive notifications when more information will be available. As a workaround, a new identifier entry can be added to the Storage Device identifier, for all 3 fields, to run before the others: /cmdb_identifier_entry.doIdentifier: cmdb_ci_storage_deviceSearch on table: Storage DeviceCriterion attributes: Device IDSerial numberName Priority: 90Submit Related Problem: PRB1628814