Hello,
We have an ongoing project targeting Daml 3.x and the canton network and have deployed an artifact into Devnet. Now we wanted to clear the ledger info for this package and we were attempting to run a Archive command via the GRPC api through the CommandService/SubmitAndWait endpoint with the following payload:
Body Payload
{
"commands": {
"command_id": "<command_id>",
"commands": [
{
"exercise": {
"template_id": {
"package_id": "<package_id>",
"module_name": "<module_name>",
"entity_name": "<entity_name>"
},
"choice": "Archive",
"choice_argument": {
"unit": {}
},
"contract_id": "<contract_id>"
}
}
],
"deduplication_duration": {},
"act_as": [
"<party_id>"
]
}
}
But with this payload we are getting this error message:
COMMAND_PREPROCESSING_FAILED(8,dd6a8889): mismatching type: DA.Internal.Template:Archive and value: ValueUnit
Any assistance would be appreciated.