Patient attribute Error while Registering Patient with existing person

400 Error ! Patient attribute Error while Registering Patient with existing person .

Request Json: {

“person”: “58abedcd-b94f-4a6a-8237-3c8563ff2092”,

“identifiers”: [

{

  "identifier": "101",

 "identifierType": "8d79403a-c2cc-11de-8d13-0010c6dffd0f",

 "location": "8d6c993e-c2cc-11de-8d13-0010c6dffd0f",

 "preferred": true

}

]

}

https://pastebin.com/A0kBu2WS

Please suggest solution.

Is this of help? https://github.com/openmrs/openmrs-module-webservices.rest/blob/b77134b295d006c78a39c7440fc9b8f06796470b/omod-1.9/src/test/java/org/openmrs/module/webservices/rest/web/v1_0/controller/openmrs1_9/PatientController1_9Test.java#L89-L100

thank you @dkayiwa.

working fine.