Exception when creating patient via REST API

I now create the person, which works, then a patient linked to the person, which yields the same exception.

This seems like the same error described in POSTING a patient via rest, which is the right patientIdentifierType?, i.e. it is related to the patient identifier.

I have now tried POSTing a patient as per the following, to no avail:

  1. With identifier type “OpenMRS ID” (uuid=“05a29f94-c0ed-11e2-94be-8c13b969e334”) and identifier=“3335” - which is a valid Luhn Mod-30 identifier with check-digit included. Yields same exception.
  2. With my own custom identifier type “Passport number” (no format string, no validator, not required). Yields same exception.
  3. With both the above, only no. 1 set as “preferred”. Yields same exception.