Service errors

Error codes

Error

Error code

Error description

Success

0

Success Success

UnknownError

1

Internal server error Unknown error

QueueRequestTimeout

2

Queue request timeout Request timeout to routing key {}

AiohttpInvalidURL

3

Invalid url {}

AiohttpClientPayloadError

4

Client payload error {}

AiohttpServerFingerprintMismatch

5

Server fingerprint mismatch {}

AiohttpServerSocketReadTimeoutError

6

Socket read timeout Request timeout on {}, method {}

AiohttpServerSocketConnectTimeoutError

7

Socket connect timeout Request timeout on {}, method {}

AiohttpServerConnectTimeoutError

8

Connect timeout Connect timeout on {}, method {}

AiohttpServerRequestTimeoutError

9

Request timeout Request timeout on {}, method {}

AiohttpServerDisconnectedError

10

Server disconnected {}

AiohttpServerConnectionError

11

Server connection error {}

AiohttpClientProxyConnectionError

12

Client proxy connection error {}

AiohttpClientConnectorSSLError

13

Client connector SSL error {}

AiohttpClientConnectorCertificateError

14

Client connector certificate error {}

AiohttpClientSSLError

15

Client SSL error {}

AiohttpClientConnectorError

16

Client connector error {}

AiohttpClientOSError

17

Client OS error {}

AiohttpClientConnectionError

18

Client connection error {}

AiohttpClientHttpProxyError

19

Client HTTP proxy error {}

AiohttpWSServerHandshakeError

20

WS server handshake error {}

AiohttpContentTypeError

21

Content-Type error {}

AiohttpClientResponseError

22

Client response error {}

AiohttpClientError

23

HTTP client error {}

AiohttpResponseNotJson

24

HTTP client error {}

BadConfig

100

Bad/incomplete configuration {}

BadQuery

101

Bad/incomplete query {}

BadBody

102

Bad/incomplete body {}

OutOfMemoryError

105

Out of memory {}

InvalidHttpRequest

106

Invalid http request {}

GenericError

200

Generic error {}

BadMessage

2000

Bad/incomplete message package {}

CoreBadContentType

2001

Bad/unsupported message content type {}

WorkerCallFailed

2002

Failed to call a remote worker {}

DriverCallFailed

2003

Failed to call a driver method {}

GenericMQError

2004

Generic MQ error {}

BindingsNotReady

2101

Data not ready {}

DriverStopped

2102

Driver is stopped {}

ConsumeAmountExceeded

2103

Max amount of messages in a queue exceeded {}

QueueDriverCallFailed

2104

Queue driver call failed {}

NoFaces

4003

No faces found No faces found.

MatchDescriptors

5003

Failed to match descriptors {}

MatchBadInput

5004

Bad/incomplete input data {}

InvalidConfig

5005

Invalid config {}

ReferenceMissingUuid

5101

Reference uuid is missing Reference uuid is missing

ReferenceNotExtractedUuid

5102

Reference uuid has no extracted descriptor Reference uuid has no extracted descriptor

UnsupportedApi

7001

Bad/unsupported API version {}

ExecuteError

10015

SQL error SQL request execution failed

PingDataBaseError

10016

Database error Could not connect to database

DataBaseConnectionTimeoutError

10017

Database error Database connection timeout error

OtherDatabaseError

10018

Database error {}

Backport3AccountNotFound

11002

Authorization failed Account corresponding login/password not found

AccountIsNotActive

11004

Account is suspended Account is suspended

RequestInternalServerError

11009

Internal server error Internal server error

EmailExist

11011

Unique constraint error An account with given email already exists

ManyFaces

11012

Extract policy error {}

Backport3DescriptorNotFound

11018

Object not found Descriptor with id ‘{}’ not found

ObjectNotFound

11020

Object not found One or more {} not found

TokenNotFound

11022

Object not found Token not found

FailDownloadImage

11027

External request failed Failed to download image by url ‘{}’

BadContentTypeDownloadedImage

11028

Bad/incomplete input data Bad content type of image ‘{}’

BadContentTypeInMultipartImage

11029

Bad/incomplete input data Bad content type of image in multipart body

BadWarpImageSize

11030

Bad/incomplete input data Image size is not equal to 250x250

SampleNotFound

11031

Bad/incomplete input data Sample with id {} not found

FaceDoesNotHaveAttributes

11032

Object not found Face with id {} does not have attributes yet

DescriptorNotExtracted

11034

Bad/incomplete input data Descriptor for {} ‘{}’ was not extracted

ServiceNameNotFound

11035

Service name not found Service name {} not found

ForbiddenRootRequestFound

11036

Forbidden Luna-Account-Id header is required for requests which change the state of system

BadAccountId

11037

Bad/incomplete input data Luna-Account-Id header is not UUID, format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

MultipleFaces

11038

Multiple faces found Multiple faces found in image {} , detect {}

LunaTasksIsDisabled

11039

Forbidden Luna Tasks service is disabled

LunaEventsIsDisabled

11040

Forbidden Luna Events service is disabled

NoOneFaceFoundByExternalId

11041

Object not found No one face found with external id {}

UnknownErrorLoopError

11042

Internal server error Unhandled exception: {}

BadWarpImage

11043

Bad/incomplete input data {}

ForbiddenProcess

11044

Forbidden {} turned off on luna-api instance

OnlyOneDetectionRectAvailable

11045

Forbidden Only one detection rect for each image available at the moment

MultiplieSameImageNames

11046

Bad/incomplete input data More than one file named {} found

BoundingBoxNotAvailableForWarp

11047

Bad/incomplete input data Bounding box not available for warp images

MultiplieSameBoundingBoxes

11048

Bad/incomplete input data Multiplie bounding boxes lists in request

BadMultipartInput

11049

Bad/incomplete input data {}

MultiplieSameBoundingBox

11050

Bad/incomplete input data More than one bounding box for image named {} found

StaticNotFoundError

11051

Internal server error Service ‘static’ folder not being loaded

NotSelectedAttributesForExtract

11052

Bad/incomplete input data No one attributes was settled for the extract

MultipleHuman

11053

Multiple human bodies found Multiple human bodies found on image {} , detect {}

LivenessIsDisabled

11054

Forbidden Liveness service is disabled

LicenseProblem

11055

Forbidden License problem: ‘{}’

InvalidRequest

11056

Bad/incomplete input data {}

NoOneEventFoundByExternalId

11057

Object not found No one event found with external id {}

NoOneEventFoundByTrackId

11058

Object not found No one event found with track id {}

BadFormatUUID

12001

Bad/incomplete input data Object in query is not UUID4, format: xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx

RequestNotContainsJson

12002

Bad/incomplete input data Request does not contain json

FieldNotInJSON

12003

Bad/incomplete input data Field ‘{}’ not found in json

EmptyJson

12005

Bad/incomplete input data Request contain empty json

BadHeaderAuth

12010

Bad/incomplete input data This resource needs “Authorization” authorization headers

BadQueryParams

12012

Bad/incomplete input data Bad query parameters ‘{}’

PageNotFoundError

12013

Resource not found Page not found

QueryParameterNotFound

12014

Bad/incomplete input data Required parameters ‘{}’ not found

RequiredQueryParameterNotFound

12016

Bad/incomplete input data No one parameters ‘{}’ not found

BadContentType

12017

Bad/incomplete input data Bad content type

UnsupportedQueryParam

12018

Bad/incomplete input data Unsupported param ‘{}’

MethodNotAllowed

12021

Method not allowed Method not allowed

BadInputJson

12022

Bad/incomplete input data Failed to validate input json. Path: ‘{}’, message: ‘{}’

NotAcceptable

12023

Bad/incomplete input data Content type is unacceptable, allowed types: ‘{}’

UnsupportedMediaType

12024

Bad/incomplete input data Unsupported media type

SpecifiedTypeNotMatchDataType

12025

Bad/incomplete input data Specified content type does not match data type

InvalidInputJson

12027

Bad/incomplete input data Failed to validate input json. Message: ‘{}’

BadInputFlat

12028

Bad/incomplete input data Failed to parse Flatbuf

NotImplementedError

12029

Functionality is not implemented Required server functionality is not implemented

NotContainsData

12030

Bad/incomplete input data Request does not contain data

BadInputData

12031

Bad/incomplete input data {}

DocumentNotFoundError

12032

Internal server error Document file not found

ForbiddenError

12033

Forbidden Access to this resource on the server is denied

InvalidDescriptorLength

12034

Bad/incomplete input data Descriptor has incorrect length {}

BadInputXpk

12035

Bad/incomplete input data Failed to parse xpk file

UnknownDescriptorVersion

12036

Bad/incomplete input data Descriptor version {} is not registered in the system

XpkDoesNotContainDescriptor

12037

Bad/incomplete input data XPK file does not contain descriptor

BadSdkDescriptor

12038

Bad/incomplete input data SDK descriptor is not valid

UnknownMultipartName

12039

Bad/incomplete input data Unknown multipart name ‘{}’

DuplicateMultipartName

12040

Bad/incomplete input data Duplicate multipart name ‘{}’

BadMultipartContentType

12041

Bad/incomplete input data Multipart with name ‘{}’ has bad Content-Type

GoneError

12042

Gone Access to this resource on the server is no longer available

UnknownServiceError

12043

Unknown error Service ‘{}’ unknown error, method: ‘{}’, url: ‘{}’

InvalidInputGzip

12044

Bad/incomplete input data Failed to decompress input body using gzip encoder

InvalidInputDeflate

12045

Bad/incomplete input data Failed to decompress input body using deflate encoder

ImageNotFoundError

13003

Object not found Image with id ‘{}’ not found

ImageCountExceededLimit

13004

Bad/incomplete input data Image count exceeded limit 1000

BucketNotFound

13005

Object not found Bucket with name ‘{}’ not found

BucketAlreadyExist

13006

Unique constraint error Bucket with name ‘{}’ already exist

ObjectInBucketNotFound

13007

Object not found Object with id ‘{}’ not found

ObjectInBucketAlreadyExist

13008

Unique constraint error Object with id ‘{}’ already exist

ObjectInBucketCountExceededLimit

13009

Bad/incomplete input data Object count exceeded limit 1000

AccountNotFound

15012

Object not found Account with id ‘{}’ not found

EmailOrIdAlreadyExist

15013

Unique constraint error Account with same email or id already exist

BadAdminAuth

15014

Bad/incomplete input data Login or password is incorrect

ConvertBase64Error

18001

Bad/incomplete input data Failed convert data from base64 to bytes

ConvertImageError

18002

Bad/incomplete input data Failed convert bytes to {}

ReadImageError

18003

Bad/incomplete input data Failed read bytes as image

SavingImageErrorLocal

19001

Internal server error Failed to save image in the storage

DeleteImageErrorLocal

19002

Internal server error Failed to remove image from the storage

DeleteImagesErrorLocal

19003

Internal server error Failed to remove image from the storage

CreateBucketErrorLocal

19004

Internal server error Failed to create bucket

GettingBucketsErrorLocal

19005

Internal server error Failed to get bucket list

GettingImageErrorLocal

19006

Internal server error Failed to get image from the storage

SavingObjectErrorLocal

19007

Internal server error Failed to save object in the storage

DeleteObjectErrorLocal

19008

Internal server error Failed to remove object from the storage

DeleteObjectsErrorLocal

19009

Internal server error Failed to remove objects from the storage

GettingObjectErrorLocal

19010

Internal server error Failed to get object from the storage

GettingObjectsErrorLocal

19011

Internal server error Failed to get objects from the storage

DeleteBucketErrorLocal

19012

Internal server error Failed to delete bucket

SavingImageErrorS3

20001

Internal server error Failed to save image in the storage

DeleteImageErrorS3

20002

Internal server error Failed to remove image from the storage

DeleteImagesErrorS3

20003

Internal server error Failed to remove image from the storage

CreateBucketErrorS3

20004

Internal server error Failed to create bucket

RequestS3Error

20005

Internal server error Request to S3 Failed

RequestS3Forbidden

20006

Internal server error Request to S3 Forbidden

RequestTimeoutToS3Error

20007

Internal server error Request time to S3 is longer than the established time

S3ConnectionRefusedError

20008

Internal server error S3 Connection Refused

ConnectTimeoutToS3Error

20009

Internal server error Connect time to S3 is longer than the established time

S3UnknownError

20010

Internal server error Unknown s3 error

GettingBucketsErrorS3

20011

Internal server error Failed to get bucket list

GettingImageErrorS3

20012

Internal server error Failed to get image from the storage

SavingObjectErrorS3

20013

Internal server error Failed to save object in the storage

DeleteObjectErrorS3

20014

Internal server error Failed to remove object from the storage

DeleteObjectsErrorS3

20015

Internal server error Failed to remove object list from the storage

GettingObjectErrorS3

20016

Internal server error Failed to get object from the storage

GettingObjectsErrorS3

20017

Internal server error Failed to get object list from the storage

DeleteBucketsErrorS3

20018

Internal server error Failed to delete bucket

BucketNameErrorS3

20019

Bad/incomplete query Failed to create bucket with specified name

FaceWithAttributeAlreadyExist

22001

Unique constraint error Face with the same attribute_id already exists

FaceNotFound

22002

Object not found Face with id ‘{}’ not found

ListNotFound

22003

Object not found List with id ‘{}’ not found

FacesNotFound

22004

Object not found One or more faces not found, including face with id ‘{}’

ListsNotFound

22005

Object not found One or more lists not found, including list with id ‘{}’

PersonNotFound

22007

Object not found Person with id ‘{}’ not found

FaceAlreadyAttach

22008

Unique constraint error This face is already attached to the person

FaceAvatarIsNotValidUrl

22009

Bad/incomplete configuration Face avatar url is not correct

AttributesForUpdateNotFound

22010

Object not found Attributes with id ‘{}’ for update not found

AttributesNotFound

22011

Object not found Attributes with id {} not found

FailDecodeDescriptor

22012

Bad/incomplete input data Failed to decode descriptor from base64

FailEncodeDescriptor

22013

Bad/incomplete input data Failed to encode descriptor to base64

WrongAttributesGeneration

22015

Conflict input data Attribute ‘{}’ generation should be ‘{}’, but ‘{}’ was provided

BadTargetsToGetFaces

22016

Bad input data ‘{}’ is not valid target to get faces. Valid target should be one of {}.

BadMatchReferenceCase

22017

Bad/incomplete input data Match reference must be specified either as (descriptor) or (attribute_id) or (face_id)

DescriptorNotFound

22018

Object not found Face descriptor of version {} is not found for object with id ‘{}’.

AttributeCorrupted

22020

Internal server error Corrupted attribute with id ‘{}’

AttributeAlreadyExist

22021

Integrity error Attribute with id ‘{}’ already exist

AttributeDoesNotContainAnyData

22022

Bad input data Attribute does not contain ‘descriptors’ and ‘basic_attributes’

AttributeContainsSamplesWithoutData

22023

Bad input data Attribute contains ‘{}’ samples but corresponding attributes is empty

AttributeWithDescriptorsIdenticalVersion

22024

Bad input data Attribute contains descriptors of identical versions: ‘{}’

FaceSampleConflict

22025

Conflict input data Attribute samples of face (face_id ‘{}’) do not match specified ones

ListAlreadyExist

22026

Unique constraint error List with id ‘{}’ already exist

EventNotFound

23001

Object not found Event with id {} not found

EventsNotFound

23002

Object not found One or more events not found, including event with id {}

EventAlreadyExist

23003

Unique constraint error One or more event id from ‘{}’ already exist

EventAttributeIdAlreadyExist

23004

Unique constraint error One or more attribute id from ‘{}’ already exist

BadTargetsToGetEvents

23005

Bad input data ‘{}’ is not valid target to get events. Valid events should be one of {}

EventSaveTimeout

23006

Internal server error Timeout ({} seconds) for saving events into history database has been expired

HumanDescriptorNotFound

23007

Object not found Human descriptor of version {} is not found for object with id ‘{}’.

CopywriterQueueIsFull

23008

Internal server error Copywriter queue is full

EventsAreShuttingDown

23009

Internal server error Events are shutting down

EventsSavingFailed

23010

Internal server error Events saving failed, reason: {}

BadEventDeletionTargets

23011

Bad input data ‘{}’ is not valid target for event deletion info. Valid target should be one of {}

IndexTaskNotFound

26001

Object not found Index task not found

GenerationNotFound

26002

Internal server error Generation not found in indexer

UnknownStatusOfIndexer

26003

Internal server error Not expected status of indexer

FailedUploadIndex

26004

Internal server error Failed start upload generation {} on daemon {}, reason: {}

FailedReloadIndex

26005

Internal server error Failed start reload generation {} on daemon {}, reason: {}

BadStatusOfUploadTask

26007

Internal server error Not expected status of upload task. Status: {}, daemon: {}, generation: {}

BadStatusOfRestartTask

26008

Internal server error Not expected status of restart task. Status: {}, daemon: {}, generation: {}

ListNotSatisfyIndexationCondition

26009

Bad/incomplete input data List does not satisfy to the indexation condition

SettingNotFound

27001

Object not found Setting with id ‘{}’ not found

SettingIntegrityError

27002

Integrity error Setting with the following fields already exists: name: {} tag: {}

FailedCheckConnectionToService

27003

Bad/incomplete input data Connection check to service is failed

NotAllowedToChangeDefaultSettingTags

27004

Bad/incomplete input data Not allowed to change tags for default setting

TagNotFound

27005

Bad/incomplete input data Tag ‘{}’ for setting ‘{}’ not found

LimitationNotFound

27006

Object not found Limitation named ‘{}’ not found

LimitationIntegrityError

27007

Integrity error Limitation named ‘{}’ already exists

GroupNotFound

27008

Object not found Group named ‘{}’ not found

GroupsNotFound

27009

Object not found One or more groups not found, including group named ‘{}’

GroupIntegrityError

27010

Integrity error Group named ‘{}’ already exists

CannotRemoveDefaultSetting

27011

Bad/incomplete input data Cannot remove default setting ‘{}’

NotAllowedToChangeDefaultSettingName

27012

Bad/incomplete input data Not allowed to change default setting name

FailSendSubtasks

28000

Network error Cannot send subtasks to task_workers. Reason: ‘{}’

TaskNotFound

28001

Object not found Task with id ‘{}’ not found

TasksNotFound

28002

Object not found One or more tasks not found, including task with id ‘{}’

TaskErrorNotFound

28003

Object not found Task error with id ‘{}’ not found

TaskErrorsNotFound

28004

Object not found One or more task errors not found, including task error with id ‘{}’

TasksWorkerShutdown

28005

Stop tasks worker On worker shutdown all active tasks on the worker are failed, all active subtasks are cancelled

FailToChangeTaskStatus

28006

Internal server error Failed to update task {} status. Desired status: {}

FailToChangeSubTaskStatus

28007

Internal server error Failed to update subtask {} status. Desired status: {}

FailToUpdateTaskProgress

28008

Internal server error Failed to update task {} progress. Desired progress: {}

AttributeIsNotEqual

28009

Attribute is not equal Event ({}) attribute is not equal {} corresponding face attribute

ObjectsForClusteringNotFound

28010

Objects not found Objects for clustering not found (empty set)

FailToCreateCSVFile

28011

Internal server error Failed to save report to a csv-file

FailToCreateArchive

28012

Internal server error Failed to create archive from a report

BadTaskTypeForReport

28013

Bad/incomplete input data Tasks with type ‘{}’ does not support a build report

BadColumnForReport

28014

Bad/incomplete input data Column ‘{}’ not allowed in report by {}

BadTaskStatus

28015

Bad/incomplete input data Tasks with status ‘{}’ does not support a build report

ClusterizationTaskWithoutResult

28016

Bad/incomplete input data Clusterization task without result does not support a build report

TaskResultNotFound

28017

Object not found Result of the task ‘{}’ not found

TaskDoesNotHaveResultYet

28018

Object not found Task ‘{}’ does not have result yet

TaskCanNotCanceled

28019

Bad/incomplete input data Task ‘{}’ with status {} cannot be canceled

ImpossibleGetTaskResult

28020

Object not found Impossible get a result of task {} with status {}

EventsIsNotSupported

28021

Forbidden Service does not support Luna Events as source for tasks

ObjectsForXMatchNotFound

28022

Objects not found {} for cross-matching not found (empty set)

MatchReferenceMissingUuid

28023

Reference uuid is missing Reference uuid is missing: {}

MatchReferenceNotExtractedUuid

28024

Reference uuid has no extracted descriptor Reference uuid has no extracted descriptor: {}

TaksHasBeenCancelled

28025

Task has been cancelled Task ‘{}’ has been cancelled

EstimatorArchiveReadError

28026

Failed to read archive {}

AccountRequired4Subscription

29001

Forbidden Cannot subscribe for events without ‘Luna-Account-Id’ header set

FailToSubscribe

29002

Internal server error Failed to subscribe to chanel {}

FailToProcessMessage

29003

Internal server error Failed to process input message

FailToPublishMessageToWS

29004

Internal server error Failed to publish message to ws

RedisDisconnected

29005

Service Unavailable Redis disconnected

DifferentAccounts

31000

Bad/incomplete input data Account id from query parameters does not match the one from {} filters

VersionNotMatchWithVersionForMatching

31001

Bad/incomplete input data Descriptor has the version ({}) which does not match with version ({}) which is supposed to use for the matching

CrossMatchLimitExceeded

31002

Bad/incomplete input data Cross-matching filters presume too many received objects. Current general limit - {}

InternalCrossMatchError

31003

Internal server error Unknown cross matching error

DifferentVersionsNotAllowed

31005

Bad/incomplete input data Matching between different versions {} is not allowed

UnexpectedMatcherError

31006

Internal server error Unexpected behavior of the ‘{}’ matcher: {}

ServiceFailure

32000

Internal server error Failed to predict liveness

FaceTooClose

32001

A distance between face and camera is too small {}

FaceCloseToBorder

32002

Face is too close to one or more borders. {}

FaceCropped

32003

Face is cropped {}

LivenessFaceNotFound

32004

Face detector can’t find face on image {}

FaceTooSmall

32005

Facial area is not big enough for analysis. {}

FaceAngleTooLarge

32006

Facial out-of-plane rotation angle is extremely large {}

FailedToPredictLandmarks

32007

Landmarks prediction error {}

FailedToPreprocessImageWhileDetect

32008

Face detection error {}

FailedToPreprocessImageWhilePredict

32009

Liveness prediction error {}

FailedToReadImage

32010

File decoding error {}

FailedToReadModel

32011

Model deserializing error {}

FailedToWriteImage

32012

File encoding error {}

InvalidFuseMode

32014

Invalid fuse mode provided {}

NoSuchObjectInBuild

32015

Engine or backend is not supported by the build {}

TooManyFaces

32017

Too many faces detected {}

FailedToCheckFeature

33001

License problem Failed to check HASP License feature {}

FailedToGetFeatureValue

33002

License problem Failed to get value of HASP License feature {}

NoValueForRequiredFeature

33003

License problem No value found for required HASP License feature {}

FailedToConsumeFeature

33004

License problem Failed to consume {}

FailedToConsumeFeatureLicenseExpired

33005

License problem Failed to consume {}: license expired

HandlerNotFound

34000

Object not found Handler with id {} not found

NotSupportedDescriptorVersion

34001

Forbidden Descriptor version {} is not supported

CorruptHandler

34002

Internal server error Cannot load handler with id ‘{}’. Handler is corrupted

AggregationNotSupported

34003

Bad/incomplete input data Aggregation is not supported for raw descriptors

VerifierNotFound

34004

Object not found Verifier with id {} not found

CandidatesLimitExceeded

34005

Bad/incomplete input data Candidates limit exceeded: {} > {}

NoCandidatesSpecified

34006

Bad/incomplete input data No candidates specified

HandlerMustByDynamic

34007

Forbidden Allowed use only dynamic handler

GCAttributeNotAvailable

35000

Bad/incomplete input data Attributes gc is not available

LunaSenderIsDisabled

35001

Forbidden Luna Sender service is disabled

Backport4InvalidHandler

35002

Handler is not supported Invalid handler with id ‘{}’

WrongListType

36001

Bad/incomplete input data Expected list of {}. Got list of {}. List id ‘{}’

BadFormatBasicAuth

36002

Bad/incomplete input data Bad format basic authorization header, format: Basic base64(login:password)

LowThreshold

36003

Face does not satisfy thresholds limits No faces found.

FaceWasNotAttachedToPerson

36004

Bad/incomplete input data Face was not linked to the person

ResponseTimeout

37001

Internal server error Service did not process the request within {} seconds

RequestTimeout

37002

Request timeout Service did not receive the complete request message within {} seconds

PayloadToLarge

37003

Payload too large Request payload is too large

UnknownWebApplicationError

37004

Internal server error Unknown web application error: {}

ClientDisconected

37005

Client closed request Client closed request

HealthCheckError

38001

Health check error {}

StreamNotFound

39001

Object not found Stream with id {} not found

BadStreamStatus

39002

Bad input data ‘{}’ is not valid stream status; permitted: {}.

UnableToStopProcessing

39003

Unable to stop processing Processing of stream with id ‘{}’ is already in progress and cannot be stopped.

BadLogTarget

39004

Bad input data ‘{}’ is not valid stream log target; permitted: {}.

UnableToCancelProcessing

39005

Unable to cancel processing Processing of stream with id ‘{}’ is finished and cannot be cancelled

StreamGroupAlreadyExist

39006

Unique constraint error Group named ‘{}’ already exists

StreamGroupNameNotFound

39007

Object not found Group named ‘{}’ not found

StreamGroupNotFound

39008

Object not found Group with id {} not found

ListNotInCache

40001

Object not found List with id ‘{}’ not found in the cache

BufferIsEmpty

100001

Buffer is empty {}

BufferIsNull

100002

Buffer is null {}

BufferIsFull

100003

Buffer is full {}

IncompatibleDescriptors

100004

Descriptors are incompatible {}

Internal

100005

Internal error {}

InvalidBufferSize

100006

Invalid buffer size {}

InvalidDescriptor

100007

Invalid descriptor {}

InvalidDescriptorBatch

100008

Invalid descriptor batch {}

InvalidDetection

100009

Invalid detection {}

InvalidImage

100010

Invalid image {}

InvalidImageFormat

100011

Invalid image format {}

InvalidImageSize

100012

Invalid image size {}

InvalidInput

100013

Invalid input {}

InvalidLandmarks5

100014

Invalid landmarks 5 {}

InvalidLandmarks68

100015

Invalid landmarks 68 {}

InvalidRect

100016

Invalid rectangle {}

InvalidSettingsProvider

100017

Invalid settings provider {}

LicenseError

100018

Licensing issue {}

ModuleNotInitialized

100019

Module is not initialized {}

ModuleNotReady

100020

Module is not ready {}

FailedToInitialize

100021

Error during initialization fdsk image {}

FailedToLoad

100022

Error during image loadin {}

FailedToSave

100023

Error during image saving {}

InvalidArchive

100024

Archive image error {}

InvalidBitmap

100025

Invalid detection {}

InvalidConversion

100026

Image conversion not implemented {}

InvalidDataPtr

100027

Bad input image data pointer. {}

InvalidDataSize

100028

Bad input image data size {}

InvalidFormat

100029

Unsupported image format {}

InvalidHeight

100030

Invalid image height {}

InvalidPath

100031

Bad path for image saving / loading {}

InvalidMemory

100032

Error at image memory opening {}

InvalidType

100033

Unsupported image type {}

InvalidWidth

100034

Invalid image width {}

BatchedInternalError

100035

Batching error {}

CreationDescriptorError

110001

Creation descriptor error {}

CreationBatchDescriptorsError

110002

Creation descriptor error {}

CreationImageError

110003

Creation core image error {}

EstimationDescriptorError

110004

Estimation descriptor error {}

EstimationBatchDescriptorError

110005

Estimation descriptor error {}

EstimationBasicAttributeError

110006

Estimation basic attributes error {}

BatchEstimationBasicAttributeError

110007

Batch estimation basic attributes error {}

EstimationAGSError

110008

Estimation AGS error {}

EstimationHeadPoseError

110009

Estimation head pose error {}

EstimationEyesGazeError

110011

Estimation eyes gase error {}

EstimationEmotionsError

110012

Estimation emotions error {}

EstimationWarpQualityError

110013

Estimation warp quality error {}

EstimationMouthStateError

110014

Estimation mouth state error {}

EstimationEyesError

110015

Estimation eyes error {}

CreationWarpError

110016

Creation warped image error {}

WarpTransformationError

110017

Landmarks transformation error {}

DetectOneFaceError

110018

Detect one face error {}

DetectFacesError

110019

Detect faces error {}

HighMemoryUsage

110020

High memory usage {}

DetectHumanError

110021

Detect one human body error {}

DetectHumansError

110022

Detect humans bodies error {}

EstimationMaskError

110023

Estimation mask error {}

BadAggregationThreshold

110024

Filtered aggregation error {}

CommandDoesntExist

120004

The command does not exist {}

InternalServerError

120005

Internal RPC error {}

InvalidCommand

120006

The command is not valid {}

EstimationEthnisitiesError

1100010

Estimation ethnities error {}

Module

Module realizes a list of errors

class crutches_on_wheels.errors.errors.AiohttpClientError[source]

Http client error.

see https://docs.aiohttp.org/en/stable/client_reference.html#hierarchy-of-exceptions if class changes, update errors processing in luna3/common/aiohttp_exception_map.py

class crutches_on_wheels.errors.errors.ApplicationServerError[source]

Application server error. .. rubric:: References

https://sanic.readthedocs.io/en/18.12.0/sanic/api_reference.html?highlight=PayloadTooLarge#module-sanic.exceptions

class crutches_on_wheels.errors.errors.ConfiguratorError[source]

Luna-configurator errors.

class crutches_on_wheels.errors.errors.DataBaseError[source]

Database errors

class crutches_on_wheels.errors.errors.Error[source]

Common errors class.

static generateError(error, msg)[source]

Generate error with custom details

Parameters
  • error – error

  • msg – new details

Returns

ErrorInfo(error.errorCode, error.description, msg)

Return type

ErrorInfo

static getErrorByErrorCode(errorCode)[source]

Find error by error code

Parameters

errorCode – error code

Returns

Error.UnknownError if error not found.

Return type

ErrorInfo

class crutches_on_wheels.errors.errors.ErrorInfo(code, description, detail)[source]

VL error.

errorCode

error code

description

short error description

detail

full error description

asDict()[source]

Convert error to dict.

Returns

dict with keys “error_code”, “desc”, “detail”

Return type

Dict

format(*formatArgs)[source]

The time has come.

Parameters

formatArgs – args to format the current

Returns

error with formatted detail

>>> error = ErrorInfo(777, '777', 'some {} data {}')
>>> error = error.format('useful', '4 u')
>>> error.detail
'some useful data 4 u'
Return type

ErrorInfo

classmethod fromDict(error)[source]

Convert dict to error.

Parameters

error – dict with keys “error_code”, “desc”, “detail”

Returns

ErrorInfo instance

Return type

ErrorInfo

class crutches_on_wheels.errors.errors.ImageProcessingError[source]

Image processing errors

class crutches_on_wheels.errors.errors.IndexManagerError[source]

Index manager errors

class crutches_on_wheels.errors.errors.LicensesError[source]

Luna-licenses errors

class crutches_on_wheels.errors.errors.LivenessErrors[source]

Liveness prediction errors

https://docs.idrnd.net/face/#error-codes

class crutches_on_wheels.errors.errors.LocalStoreError[source]

Image Store errors

class crutches_on_wheels.errors.errors.LunaAdmin[source]

Luna-admin errors

class crutches_on_wheels.errors.errors.LunaApiError[source]

Luna Api errors

class crutches_on_wheels.errors.errors.LunaBackport3[source]

Luna-Backport3 errors

class crutches_on_wheels.errors.errors.LunaBackport4[source]

Luna-Backport4 errors

class crutches_on_wheels.errors.errors.LunaCachedMatcher[source]

Luna-cached-matcher error

class crutches_on_wheels.errors.errors.LunaCoreError[source]

Structure to save errors in LUNA Core.

BindingsNotReady = <crutches_on_wheels.errors.errors.ErrorInfo object>

bindings error

class crutches_on_wheels.errors.errors.LunaEvents[source]

Luna-events error

class crutches_on_wheels.errors.errors.LunaFaces[source]

Luna-faces error

class crutches_on_wheels.errors.errors.LunaHandlers[source]

Luna-handlers errors

class crutches_on_wheels.errors.errors.LunaHealthCheckError[source]

Health check error.

class crutches_on_wheels.errors.errors.LunaImageStoreError[source]

Luna-image-store errors

class crutches_on_wheels.errors.errors.LunaPythonMatcher[source]

Luna-python-matcher errors

class crutches_on_wheels.errors.errors.LunaSender[source]

Luna-sender errors

class crutches_on_wheels.errors.errors.LunaStreams[source]

Luna-streams errors

class crutches_on_wheels.errors.errors.LunaTasks[source]

Luna-tasks errors

class crutches_on_wheels.errors.errors.LunaVLError[source]

LunaVL errors

class crutches_on_wheels.errors.errors.QueueClientError[source]

Queue client error.

class crutches_on_wheels.errors.errors.RESTAPIError[source]

Rest api common errors

class crutches_on_wheels.errors.errors.RPCError[source]

RPC errors.

class crutches_on_wheels.errors.errors.S3StorageError[source]

S3 errors