HTTP status 422. Only the Affinity app gets this code.
The dashboard tried to change the first or last name of a patient whose name the pharmacy keeps. Nothing was saved.
Recovery
Contact Affinity support to correct the patient's name. Save the patient's other changes without the name.
Branch on code, not on the text of detail. Give Affinity the requestId when you report a problem.