GET: /records/{recordID}/{version} - ERROR 500
Context
GET: /records/{recordID}/{version} fails with error 500 if an invalid version is provided (see the attachment)
We noticed an odd behavior of the service:
List of existing versions of the following record: opendes:work-product-component--SamplesAnalysis:e9f02f48f43149a8b69606ff7597f391
If request unexisting version 1
- status error 500
Meanwhile, if request unexisting version 1234
- status 404
Expected Behavior
404 - status code
Edited by Siarhei Khaletski (EPAM)