Error
reference_face_unusable
Status 422 Unprocessable Content. The image cannot be a reference face.
What to do
The request is well formed and a rule refuses it: the message and the members say which. Sent again unchanged, it is refused again.
What it carries
reasonunsupported_format: The image is neither a JPEG nor a PNG.no_face: The image holds no face.multiple_faces: The image holds more than one face.
Who answers it
- Enroll a reference face
PUT /subjects/{id}/reference-face
An example
{
"error": {
"code": "reference_face_unusable",
"message": "The image cannot be a reference face.",
"details": [],
"request_id": "01JD2RD9E1G3J5K7M9N1P3R5S7",
"doc_url": "https://xipid.org/errors/reference_face_unusable",
"reason": "no_face"
}
}