iLive Docs
Reference

HTTP status codes

How iLive maps outcomes to HTTP status codes.

iLive uses standard HTTP status codes. The short catalogue:

StatusMeaning in the iLive API
200 OKRequest succeeded; body contains the result.
201 CreatedA new resource was created (e.g. a collection, an indexed face).
204 No ContentRequest succeeded, no body (e.g. after a delete).
400 Bad RequestMalformed request — bad field values, invalid IDs, invalid params.
401 UnauthorizedAPI key missing or invalid. See API keys.
403 ForbiddenAccount is not active or the key is not allowed to use the endpoint.
404 Not FoundTarget resource (collection, face, session) does not exist.
409 ConflictResource already exists — most commonly on collection creation.
413 Payload Too LargeUploaded image is larger than 8 MB.
422 Unprocessable EntitySemantic failure — e.g. no face detected in the uploaded image.
429 Too Many RequestsRate limit exceeded. Back off with jitter — see Rate limits.
500 Internal Server ErrorUnexpected server-side failure. Retry with backoff; contact support if it persists.
502 Bad GatewayUpstream component unavailable — usually transient during deploys. Retry.
503 Service UnavailableTemporary overload or maintenance. Retry with exponential backoff.

Each 4xx response carries a machine-readable code in the body — see Error codes for the full list.