storage get record with version api returns 500
Here is a curl where the record exists and I get 200:
curl --location --request GET 'https://evt.api.enterprisedata.cloud.slb-ds.com/api/storage/v2/records/opendes%3Awork-product-component--RegularHeightField%3A0a16c55a-aec0-4f21-a55b-abd0447d31f6/1637157881569884' \
--header 'accept: application/json' \
--header 'data-partition-id: opendes' \
--header 'Authorization: Bearer ***'
failure Here I changed the last digit of the version:
curl --location --request GET 'https://evt.api.enterprisedata.cloud.slb-ds.com/api/storage/v2/records/opendes%3Awork-product-component--RegularHeightField%3A0a16c55a-aec0-4f21-a55b-abd0447d31f6/1637157881569881' \
--header 'accept: application/json' \
--header 'data-partition-id: opendes' \
--header 'Authorization: Bearer ***'
response:
{
"code": 500,
"reason": "Version not found",
"message": "The version 1637157881569881 can't be found for record opendes:work-product-component--RegularHeightField:0a16c55a-aec0-4f21-a55b-abd0447d31f6"
}
Expected result: return code is 404 Actual result: return code is 500