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, grouped by stage.

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 — no longer emitted; 319 covers tight framing)
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.
20010Image resolution for the face area is low.
idxisErrorDescription
30001Acne measurement aborted due to image quality concerns.
idxisErrorDescription
30011Cannot analyze skin sagging since eyebag analysis had failed.
30021Cannot analyze skin sagging since wrinkle analysis from required locations had failed.
idxisErrorDescription
40001Skin firmness not analyzed due to error in skin sagging analysis.
idxisErrorDescription
50001Hair analysis aborted due to image quality concerns or internal error.
50021No hair detected. Hair analysis aborted.
50031Not enough hair detected. Hair analysis aborted.
idxisErrorDescription
70001Skin Age analysis aborted due to image quality concerns or internal error.
const FATAL = new Set([
99, 100, 101, 102,
201, 206,
301, 302, 304, 315, 316, 317, 318,
500,
1000, 1101, 1111, 1121, 1191, 1192,
2000,
3000, 3001, 3002, 4000,
5000, 5002, 5003,
7000,
]);
function describe(status) {
return status
.filter((s) => s.isError === 1)
.map((s) => ({ code: s.idx, fatal: FATAL.has(s.idx), description: s.description }));
}

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