AWS - legal tag issue with Witsml parser
While registering the dataset after upload using the following request :
curl --location --request PUT 'https://r3m10.preshiptesting.osdu.aws/api/dataset/v1/registerDataset' \
--header 'x-ms-blob-type: BlockBlob' \
--header 'data-partition-id: osdu' \
--header 'Authorization: Bearer ******' \
--header 'Content-Type: application/json' \
--data-raw '{
"datasetRegistries": [
{
"data": {
"DatasetProperties": {
"FileSourceInfo": {
"FileSource": "s3://osr3m10-shared-561735291427-us-east-2-file-dms/osdu/MhQZ_kvndUWbmBcdtWnMMQHZAKs/signedUpload",
"Name": "well-007.xml"
}
}
},
"meta": [],
"id": "osdu:dataset--File.Generic:d67e9126-dc60-4122-844f-ee15cb6e7e44",
"kind": "osdu:wks:dataset--File.Generic:1.0.0",
"acl": {
"viewers": [
"data.default.viewers@osdu.example.com"
],
"owners": [
"data.default.owners@osdu.example.com"
]
},
"legal": {
"legaltags": [
"osdu-public-usa-dataset-1"
],
"otherRelevantDataCountries": [
"US"
],
"status": "compliant"
}
}
]
}'
I m getting the following error :
{
"code": 400,
"reason": "Storage Service: Invalid legal tags",
"message": "Invalid legal tags: osdu-public-usa-dataset-1"
}
And if I want to register a lew legal tag, I lack of access rights.