AWS M12: Unable to register datasets
I am getting an error when I attempt to register a dataset. Below is an example request that is failing:
curl --location --request PUT 'https://r3m12.preshiptesting.osdu.aws/api/dataset/v1/registerDataset' \
--header 'data-partition-id: osdu' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ...' \
--data-raw '{
"datasetRegistries": [
{
"id": "osdu:dataset--File.Generic:3f859d80-b789-41da-ab66-8bda9a832926",
"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"
},
"data": {
"DatasetProperties": {
"FileSourceInfo": {
"Name": "Volve_Official_Faults.dat",
"FileSource": "s3://r3m12-shared-561735291427-us-east-1-file-dms/osdu/8WvMLwjTCX4t7oPKrKJp566UKOysg43z/Volve_Official_Faults.dat",
"PreLoadFilePath": ""
}
},
"ResourceSecurityClassification": "osdu:reference-data--ResourceSecurityClassification:RESTRICTED:"
},
"meta": [],
"tags": {}
}
]
}'
Response:
{
"code": 500,
"reason": "Server error.",
"message": "An unknown error has occurred."
}
I have verified that the file referenced in the FileSource path s3://r3m12-shared-561735291427-us-east-1-file-dms/osdu/8WvMLwjTCX4t7oPKrKJp566UKOysg43z/Volve_Official_Faults.dat is valid and accessible: