API error codes

Status code Description
400 (Bad Request) Invalid request
401 (Unauthorized) Authentication error
403 (Forbidden) Forbidden access
404 (Not Found) Item not found
408 (Request Timeout) Request timeout
409 (Conflict) Conflicting request
411 (Length Required) Require Content-Length
412 (Precondition Failed) Precondition failed
416 (Requested Range Not Satisfiable) Invalid specification of Range header
500 (Internal Error) Internal error
503 (Service Unavailable) Service Unavailable