FHIR
FHIR copied to clipboard
409 message with concurrent delete should not state insert
Is your feature request related to a problem? Please describe. when running concurrent deletes on the same resource, if the 409 message is issued, the text for the message should indicate you were doing a delete and not a insert. Or should be made to be more generic so that it will just indicate there was a conflict condition processing the request. Currently it states:
{
"id": "c0-a8-1-d7-a54af517-de65-4664-8a98-15b4949611e5",
"issue": [
{
"code": "conflict",
"details": {
"text": "Encountered version id mismatch while inserting Resource"
},
"severity": "fatal"
}
],
"resourceType": "OperationOutcome"
}
Describe the solution you'd like Maybe a message that states genericly why you got a 409, something like "Encountered version id mismatch, likely due to concurrent access to the same resource"
maybe just change "inserting" to "updating"?
we're good with the following error message for both updates and deletes:
"Encountered version id mismatch, likely due to concurrent modification of the same resource"