M22 Azure - Invalid legal tags found on record
I'm trying to update the reference data to solve issue 657. But I'm unable to create the record, invalid legal tags. Am i missing something ?
========================
Creating storage record
========================
Request:
PUT https://osdu-ship.msft-osdu-test.org/api/storage/v2/records/
Total time (seconds): 1.502987
Request body:
[
{
"data": {
"Name": "metre",
"NameAlias": [
{
"AliasName": "9001",
"AliasNameTypeID": "opendes:reference-data--AliasNameType:IndustryCode:",
"DefinitionOrganisationID": "opendes:reference-data--StandardsOrganisation:Energistics.EPSG:"
},
{
"AliasName": "m",
"AliasNameTypeID": "opendes:reference-data--AliasNameType:IndustryCode:",
"DefinitionOrganisationID": "opendes:reference-data--StandardsOrganisation:Energistics.OpenSpirit:"
},
{
"AliasName": "sm",
"AliasNameTypeID": "opendes:reference-data--AliasNameType:IndustryCode:",
"DefinitionOrganisationID": "opendes:reference-data--StandardsOrganisation:Energistics.OpenSpirit:"
},
{
"AliasName": "m",
"AliasNameTypeID": "opendes:reference-data--AliasNameType:IndustryCode:",
"DefinitionOrganisationID": "opendes:reference-data--StandardsOrganisation:Energistics.POSC:"
},
{
"AliasName": "m",
"AliasNameTypeID": "opendes:reference-data--AliasNameType:IndustryCode:",
"DefinitionOrganisationID": "opendes:reference-data--StandardsOrganisation:Energistics.RP66_V1:"
},
{
"AliasName": "m",
"AliasNameTypeID": "opendes:reference-data--AliasNameType:IndustryCode:",
"DefinitionOrganisationID": "opendes:reference-data--StandardsOrganisation:Energistics.RP66_V2:"
}
],
"ID": "m",
"InactiveIndicator": false,
"Description": "The metre is the length equal to 1 650 763.73 wavelengths in vacuum of the radiation corresponding \n\t\t\t\tto the transition between the levels 2p10 and 5d5 of the krypton-86 atom. \n\t\t\t\tIn the US, this is called a meter.\n\t\t\t",
"Code": "m",
"AttributionAuthority": "Energistics",
"AttributionPublication": "Energistics Unit of Measure Dictionary V1.0",
"AttributionRevision": "1.0",
"CoefficientA": 0,
"CoefficientB": 1,
"CoefficientC": 1,
"CoefficientD": 0,
"IsBaseUnit": true,
"PersistableReference": "{\"abcd\":{\"a\":0.0,\"b\":1.0,\"c\":1.0,\"d\":0.0},\"symbol\":\"m\",\"baseMeasurement\":{\"ancestry\":\"L\",\"type\":\"UM\"},\"type\":\"UAD\"}",
"UnitDimensionCode": "L",
"UnitDimensionName": "length",
"UnitQuantityID": "opendes:reference-data--UnitQuantity:L:",
"Source": "Workbook Published/UnitOfMeasure.1.0.0.xlsx; commit SHA 4b3c8e86.",
"CommitDate": "2021-10-30T16:40:06+02:00"
},
"meta": [],
"id": "opendes:reference-data--UnitOfMeasure:m",
"kind": "osdu:wks:reference-data--UnitOfMeasure:1.0.0",
"acl": {
"owners": [
"data.default.owners@opendes.contoso.com"
],
"viewers": [
"data.default.viewers@opendes.contoso.com"
]
},
"legal": {
"legaltags": [
"opendes-legal-chad-test"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
}
}
]
Response body: 400
{
"code": 400,
"reason": "Invalid legal tags",
"message": "Invalid legal tags found on record"
}
```Invalid legal tags found on record"