I am not 100% sure this is the reason but device, device group,update, campaign all defined without any problem and campaign is launched through API. But when we try to update the device it gives the following error:
No matching target in Image repo Targets metadata for Target
(mypkg_0.0.1 ecu_identifiers: (42aa40984adf576f143236c9b865a7f6c9cb2dfbd7d528d390dbad9f831a2d38 (hw_id: ota-ce-device), ) hw_ids: () length:832 hashes: (Hash: 2774BC60C60C0976BED4BE9908D7F578CFA3E4F4E18B6505210081DE4A12ECF8, ))
The target metadata in the Image and Director repos do not match.
-----------------------Target mismatch.
{
"signatures": [
{
"keyid": "7c6f3d6bc7212a6f5d26edd14cd4e801faa53d31609ddbd5b0325301365118f0",
"method": "ed25519",
"sig": "+PkmqU0EY1z2kqRySB1qFftTY/EoGqNbgx4HJIrEKOoKEN761wBzojKiuvnWuCfE9OjOk9LQV9ouvtvgWBngDQ=="
}
],
"signed": {
"_type": "Targets",
"custom": {
"correlationId": "urn:here-ota:campaign:c30f75c6-6955-40b6-9813-147b8a071039"
},
"expires": "2021-12-26T16:10:41Z",
"targets": {
"mypkg_0.0.1": {
"custom": {
"ecuIdentifiers": {
"42aa40984adf576f143236c9b865a7f6c9cb2dfbd7d528d390dbad9f831a2d38": {
"hardwareId": "ota-ce-device"
}
},
"uri": null
},
"hashes": {
"sha256": "2774bc60c60c0976bed4be9908d7f578cfa3e4f4e18b6505210081de4a12ecf8"
},
"length": 832
}
},
"version": 14
}
}
And server just says 100% failed and gives the following csv:
I am not 100% sure this is the reason but device, device group,update, campaign all defined without any problem and campaign is launched through API. But when we try to update the device it gives the following error:
And server just says 100% failed and gives the following csv: