Conflict

conflict HTTP 409

The request is valid but conflicts with the current state of the record — something changed between you reading it and writing it. Re-read the record and decide whether the change still applies.

How to react to this in code

Switch on the code member — conflict — which is stable. Do not parse the type URI: it points here, and where "here" is may change.