Skip to content

Status codes

Every analyzeImage response carries a status[] array of { idx, description, isError } entries describing image-quality and pipeline-level issues. Per-finding local_warnings[] carry the same shape but scoped to one metric. This page lists every code, in the groups the OpenAPI spec defines.

idxisErrorDescription
991[custom context] undefined failure.
idxisErrorDescription
1001Unable to process: image must be in RGB color format.
1011Unable to process: Image resolution too small.
1021Unable to downsample image resolution: Image aspect ratio too extreme.
1030Image too dark. Increase exposure.
1040Image is overexposed. Find more diffuse lighting.
idxisErrorDescription
2011Unable to detect a face
2020Multiple faces detected. Only the best fit face is analyzed.
2030Face detection is uncertain. Analysis quality is compromized.
2040Face detection is very uncertain. Analysis quality is unreliable.
2050More margin space around the face needed. Results might be compromised. Take the picture a bit further away. [OBSOLETE, 319 covers it]
2061Facial landmarks are invalid. Aborting processing.
idxisErrorDescription
3011The detected face resolution is too small. Take a photo closer to the target.
3021Face is too much tilted to the side. Face straight at the camera.
3030Face is possibly tilted to the side. Face straight at the camera.
3041Face is too much tilted down. Face straight at the camera.
3050Face is possibly tilted down. Face straight at the camera.
3060Face is possibly tilted up. Face straight at the camera.
3070Image too dark at the face area. Increase exposure/light to the face.
3080Image is overexposed at the face area. Find more diffuse lighting or reduce exposure.
3090The face area blue channel is clipping (overexposed). Reduce exposure or adjust color balance.
3100The face area green channel is clipping (overexposed). Reduce exposure or adjust color balance.
3110The face area red channel is clipping (overexposed). Reduce exposure or adjust color balance.
3120The face has unsymmetric exposure. Find even illumination.
3130The face area has hard shadows. Find more diffuse lighting.
3140Eyeglasses detected. Remove eyeglasses before taking the photo. Results are unreliable.
3151Forehead is partially outside the image. Make sure the whole face fits the image. Aborting processing.
3161Lower face is partially outside the image. Make sure the whole face fits the image. Aborting processing.
3171Face right side is partially outside the image. Make sure the whole face fits the image. Aborting processing.
3181Face left side is partially outside the image. Make sure the whole face fits the image. Aborting processing.
3190Face is too tightly framed in the image. Leave more space around the face.
idxisErrorDescription
4010Unable to sample skin. Acne/Hyperpigmentation results are unreliable.
idxisErrorDescription
5001All metrics had an error.
idxisErrorDescription
10001Skin tone input not defined. Unable to proceed.
11011Eyes look too much closed. Keep eyes open. Eye color analysis aborted.
11020Eyes look quite closed. Keep eyes open.
11111Eyes region is too dark. Improve lighting on the eyes. Eye color analysis aborted.
11120Eyes region is quite dark. Improve lighting on the eyes.
11211Eyes whites have a heavy color cast. Correct white balance settings on the camera. Eye color analysis aborted. [OBSOLETE]
11220Eyes whites have a significant color cast. Correct white balance settings on the camera.
11911Eye color detection processing error 1. Eye area has no color information.
11921Eye color detection processing error 2. Eye area is too dark.
12000Color balance not corrected due to eye area low image quality. Skin foundation color analysis might be unreliable
12010Skin foundation estimation failed. Foundation rbg output is invalid.
idxisErrorDescription
20001Image resolution for the face area is too low. Face at the image has to be at minimum 1200 pixels wide. [Outdated description: The limit is not necessarily 1200 pixels anymore]
20010Image resolution for the face area is low.
idxisErrorDescription
30001Acne measurement aborted due to image quality concerns.
30011Cannot analyze skin sagging since eyebag analysis had failed.
30021Cannot analyze skin sagging since wrinkle analysis from required locations had failed.
40001Skin firmness not analyzed due to error in skin sagging analysis.
50001Hair analysis aborted due to image quality concerns or internal error.
50021No hair detected. Hair analysis aborted.
50031Not enough hair detected. Hair analysis aborted.
70001Skin Age analysis aborted due to image quality concerns or internal error.

Three codes need care when you read their text. 99 has no fixed text: the bracketed part depends on where the error is raised, and today only the makeup eye-colour analysis emits it. 401 names the sampled region and the metric, for example Unable to sample image left cheek skin. Acne results are unreliable.. The 2000 text still says 1200 px; the analysis aborts below 600 px face width, see Image quality.

// Global errors: the analysis failed as a whole; results is null.
if (response.message === "Error") {
const err = response.status.find((s) => s.isError === 1);
showRetry(err?.idx); // e.g. 201, 301, 315 → ask for a new photo
} else {
// Per-metric errors: only that finding failed; the others are usable.
for (const r of response.results) {
const failed = r.local_warnings.some((w) => w.isError === 1);
if (failed) hideCard(r.description);
}
}

Branch on isError, not on a hand-kept list of codes — new codes keep working.

For the most current listing, the OpenAPI spec is canonical: see /openapi/skin-analysis.yaml.