Invalid reference object
Type: https://docs.dockt.com/errors/reference-invalid
Status: 422 Unprocessable Content
A reference object isn’t well formed. It sends both id and external_ref, sends details next to an id, sends neither, or a dry run sends a Person’s attributes. errors.issues names the field.
Use one reference form, such as { "id": "per_7Hq2" } or { "external_ref": "worker-4821", "namespace": "hr-system" }. Add details only when using your own reference. A Company may also be referred to by registration_number. In a dry run, refer to stored records only.