Pre Shipping GCP M16 - 500 error when calling getRetrievalInstructions service
When calling the get retrieval instructions service (04 Get Retrieval Instructions to download the file request in https://community.opengroup.org/osdu/platform/pre-shipping/-/blob/main/R3-M16/GCP-M16/GCP_OSDU_Smoke_Tests.postman_collection.json) I am getting a 500 error. An example request is shown below:
curl --location 'https://preship.gcp.gnrg-osdu.projects.epam.com/api/dataset/v1/getRetrievalInstructions' \
--header 'Data-Partition-Id: odesprod' \
--header 'Authorization: Bearer ...' \
--header 'Content-Type: application/json' \
--data '{
"datasetRegistryIds": [
"odesprod:dataset--File.Generic:a892225a-f89e-40e0-83dc-3e3602b7898e"
]
}'
Response:
{
"code": 500,
"reason": "Internal Server Error",
"message": "Unrecognized field \"status\" (class org.opengroup.osdu.core.common.dms.model.RetrievalInstructionsResponse), not marked as ignorable (one known property: \"datasets\"])_ at [Source: (String)\"{\"status\":\"BAD_REQUEST\",\"message\":\"UnrecognizedPropertyException: Unrecognized field \\\"PreLoadFilePath\\\" (class org.opengroup.osdu.file.model.filemetadata.filedetails.FileSourceInfo), not marked as ignorable (12 known properties: \\\"Checksum\\\", \\\"FileSource\\\", \\\"preloadFilePath\\\", \\\"Name\\\", \\\"PreloadFileCreateUser\\\", \\\"PreloadFileModifyDate\\\", \\\"PreloadFileCreateDate\\\", \\\"PreloadFilePath\\\", \\\"FileSize\\\", \\\"EncodingFormatTypeID\\\", \\\"PreloadFileModifyUser\\\", \\\"ChecksumAlgorithm\\\"])\\n at [Source: UN\"[truncated 243 chars]; line: 1, column: 12] (through reference chain: org.opengroup.osdu.core.common.dms.model.RetrievalInstructionsResponse[\"status\"])"
}
For a request to download seismic horizon file from the volve test datasets I am getting another error:
curl --location 'https://preship.gcp.gnrg-osdu.projects.epam.com/api/dataset/v1/getRetrievalInstructions' \
--header 'Data-Partition-Id: odesprod' \
--header 'Authorization: Bearer ...' \
--header 'Content-Type: application/json' \
--data '{
"datasetRegistryIds": [
"odesprod:dataset--File.Generic:fed1f014a783411c8421d48252546839"
]
}'
Response:
{
"code": 500,
"reason": "Internal Server Error",
"message": "Unrecognized field \"status\" (class org.opengroup.osdu.core.common.dms.model.RetrievalInstructionsResponse), not marked as ignorable (one known property: \"datasets\"])_ at [Source: (String)\"{\"status\":\"BAD_REQUEST\",\"message\":\"URISyntaxException: Illegal character in path at index 40: /osdu-data-prod-odesprod-persistent-area{{signedUrlDelivery}}\"}\"; line: 1, column: 12] (through reference chain: org.opengroup.osdu.core.common.dms.model.RetrievalInstructionsResponse[\"status\"])"
}
Is this an issue with the data not being in the correct location or the dataset service itself.
Edited by Michael