Service errors
Error codes
Error |
Error code |
Error description |
---|---|---|
Success |
0 |
Success Success |
UnknownError |
1 |
Internal server error Unknown error |
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 {} |
NoFaces |
4003 |
No faces found No faces found. |
ReferenceMissingUuid |
5101 |
Reference uuid is missing Reference uuid is missing |
ReferenceNotExtractedUuid |
5102 |
Reference uuid has no extracted descriptor Reference uuid has no extracted descriptor |
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 {} |
UserDefinedIndexConflict |
10019 |
Database error Failed to insert data due to incompatible user-defined index: {} |
UserDefinedQueryExecutionError |
10020 |
Database error SQL request execution failed due to incompatible user-defined filters: {} |
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 {} |
ForbiddenByToken |
11059 |
Forbidden Request denied due to token restrictions, required ‘{}’ permission for ‘{}’ |
ResourceForbiddenByToken |
11060 |
Forbidden Access to the resource is denied due to token restrictions. Required ‘{}’ resource permission |
AccountIdAuthDisabled |
11061 |
Forbidden Authorization with ‘Luna-Account-Id’ header is disabled |
AccountTokenPermissionError |
11062 |
Forbidden Specified token corrupted |
AccountQueryPermissionError |
11063 |
Forbidden The query parameter account_id usage denied due to account restrictions |
PermissionByTokenDenied |
11064 |
Forbidden Access to the resource is denied using authorization by token |
AuthorizationFailed |
11065 |
Authorization failed {} |
LunaAccountIdHeaderNotFound |
11066 |
Bad/incomplete input data Luna-Account-Id header not found |
ForbiddenByTokenEmitEvents |
11067 |
Forbidden Request denied due to token restrictions. According to emit_events the handler is not whitelisted or handler is blacklisted. |
ForbiddenByTokenEventsGeneration |
11068 |
Forbidden Request denied due to token restrictions. Events generation is not allowed |
ForbiddenVisibilityAreaDenied |
11069 |
Forbidden Account id specified in {} is different from requester account id, that is not acceptable due to account/token visibility area restrictions |
LISIsDisabled |
11070 |
Forbidden Luna Image Store service is disabled |
LunaHandlersIsDisabled |
11071 |
Forbidden Luna Handlers service is disabled |
LambdaIsDisabled |
11072 |
Forbidden Luna Lambda service is disabled |
PluginError |
11073 |
Plugin error {} |
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 |
InvalidHttpRequest |
12046 |
Bad/incomplete input data Invalid http request: {} |
BadInputMsgpack |
12047 |
Bad/incomplete input data Failed to validate input msgpack. Path: ‘{}’, message: ‘{}’ |
PluginArchiveDoesNotContainFiles |
12048 |
Bad/incomplete input data Archive file does not contain plugin.py |
ResourceIsDisabled |
12049 |
Forbidden Resource is disabled. |
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 |
PermissionDenied |
15015 |
Bad/incomplete input data Admin account type required |
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 |
GettingBucketErrorLocal |
19013 |
Internal server error Failed to get bucket info |
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 |
GettingBucketErrorS3 |
20020 |
Internal server error Failed to get bucket info |
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 |
BadFaceDeletionTargets |
22027 |
Bad input data ‘{}’ is not valid target for face deletion info. Valid target should be one of {} |
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 {} |
MetaTooBig |
23012 |
Bad input data Meta length exceeds 2Mb |
InternalError |
26100 |
Internal server error Internal server error |
IndexerBusy |
26101 |
Indexer busy Indexer busy |
BuildFailed |
26103 |
Build failed Build failed |
BuildProcessDied |
26104 |
Build process failed Build process died |
EmptyList |
26105 |
Build process failed List is empty |
BuildProcessCancelled |
26106 |
Build process cancelled Build process cancelled |
MissingList |
26107 |
Build process failed List not found |
DuplicateIndex |
26108 |
Build process failed Index with specified ID already exists |
BuildProcessKilled |
26109 |
Build process failed Build process killed. It’s probably due to running out of memory and the OS was triggering the OOM killer. |
IndexingTaskDuplicate |
26201 |
Task duplicate Indexing task already exists |
IndexAlreadyBuilt |
26202 |
Index duplicate Index for the most recent content version already exists |
IndexerRestarted |
26203 |
Internal server error Indexer was restarted for internal reasons |
IndexNotFound |
26204 |
Object not found Index with id ‘{}’ not found in the storage |
BadMatchingRequest |
26301 |
Bad/incomplete input data Failed to validate matching request: {} |
DescriptorLoadError |
26302 |
Bad/incomplete input data Failed to load descriptor bytes. {} |
MatchingInternalError |
26303 |
Internal server error Failed to search descriptor. {} |
MatchingIndexNotFound |
26304 |
Index not found Index for label {} not found. |
DescriptorVersionMismatch |
26305 |
Descriptor version mismatch Descriptor of version {} cannot be searched in index of version {} |
IndexStorageDamaged |
26306 |
Index processing internal error Skip load index for label {} due to index storage damage |
InsufficientMemory |
26307 |
Index processing internal error Skip load index for label {} due to insufficient memory |
IndexCorrupted |
26308 |
Index processing internal error Skip load index for label {} due to index corruption |
IndexWarmupError |
26309 |
Index warm up error Skip load index for label {} due to index warm up fail |
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 {} |
EstimatorFileReadError |
28027 |
Failed to read file {} |
EstimatorDirectoryReadError |
28028 |
Failed to read directory {} |
EstimatorNetworkDiskNotAvailable |
28029 |
Network disk is not available {} |
EstimatorFtpLoginError |
28030 |
FTP server authorization error {} |
EstimatorFtpUnreachable |
28031 |
FTP server is unreachable {} |
EstimatorFtpDownloadError |
28032 |
FTP download error {} |
EstimatorFtpListingError |
28033 |
FTP file listing error {} |
EstimatorSambaLoginError |
28034 |
Samba authorization error {} |
EstimatorSambaUnreachable |
28035 |
Samba is unreachable {} |
EstimatorSambaDownloadError |
28036 |
Samba download error {} |
EstimatorUnknownSambaError |
28037 |
Samba unknown error {} |
ExporterDownloadError |
28038 |
Exporter failed to download data {} |
ExporterRetriesExceed |
28039 |
Exporter repeatedly failed to download data {} |
ScheduleNotFound |
28040 |
Object not found Schedule with id ‘{}’ not found |
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: {} |
ReferencesLimitExceeded |
31007 |
Bad/incomplete input data Amount of specified/required references exceeds limit: {} |
AccountIdQueryForbidden |
31008 |
Bad/incomplete input data User with account type user is not allowed to use different account id |
InvalidMetaFilter |
31009 |
Bad input data Validation of meta filter ‘{}’ has failed. |
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 {} |
InvalidConfig |
32013 |
Configuration file deserializing 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 license feature {} |
FailedToGetFeatureValue |
33002 |
License problem Failed to get value of license feature {} |
NoValueForRequiredFeature |
33003 |
License problem No value found for required license feature {} |
FailedToConsumeFeature |
33004 |
License problem Failed to consume {} |
FailedToConsumeFeatureLicenseExpired |
33005 |
License problem Failed to consume {}: license expired |
BadTargetsToGetLicense |
33006 |
Bad input data ‘{}’ is not valid target to get license features. Valid target should be one of {}. |
FailedToInitializeLicenseClient |
33007 |
License problem Failed to initialize license client {} |
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 |
MultipleBodies |
34008 |
Multiple bodies found Multiple bodies found in image {} , detect {} |
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 |
BP3WSIsDisabled |
36005 |
Forbidden WS subscription is disabled |
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 |
PreviewNotFound |
39009 |
Object not found Not found {} preview url for stream with id ‘{}’. |
PreviewProcessingError |
39010 |
Preview processing error {} |
ListNotInCache |
40001 |
Object not found List with id ‘{}’ not found in the cache |
AccountWithLoginAlreadyExists |
41001 |
Unique constraint error Account with login ‘{}’ already exists |
AccountWithIdAlreadyExists |
41002 |
Unique constraint error Account with account_id ‘{}’ already exists |
TokenNotFoundById |
41003 |
Object not found Token with id ‘{}’ not found |
AccountTypeChangeForbidden |
41004 |
Forbidden Account with account_id ‘{}’ has admin type and its type can’t be changed |
JWTTokenNotFound |
41005 |
JWT token not found Specified JWT token doesn’t exist |
AccountLoginPasswordIncorrect |
41006 |
Account credentials wrong Account login or password are incorrect |
TokenExpired |
41007 |
Account credentials wrong Token has been expired |
CorruptedToken |
41008 |
Bad/incomplete input data Specified token corrupted |
IncorrectAccountTokenPermissions |
41009 |
Bad/incomplete input data Specified permissions (‘{}’) are unacceptable valid for ‘{}’ account type |
BadTargetsToGetAccounts |
41010 |
Bad input data ‘{}’ is not valid target to get account(s). Valid target should be one of {}. |
LambdaNotFound |
42001 |
Object not found Lambda with id ‘{}’ not found |
LambdaImageCreationNotFound |
42002 |
Lambda image creation not found Lambda image creation pod not found. Lambda id ‘{}’ |
LambdaAlreadyExists |
42003 |
Unique constraint error Lambda with name {} already exists |
LambdaError |
42004 |
Lambda exception {} |
LambdaValidationError |
42005 |
Lambda validation exception {} |
LambdaOutOfSeasonError |
42006 |
Lambda update exception {} |
LambdaWrongTypeError |
42007 |
Lambda wrong type exception Lambda type must be ‘{}’ but it is ‘{}’. |
UnknownKubernetesError |
42008 |
Kubernetes exception {} |
FailOpeningVideo |
43000 |
Bad/incomplete input data Failed to open video by url ‘{}’ |
FailDownloadVideo |
43001 |
External request failed Failed to download video by url ‘{}’ |
VideoDecoderInitializationFailed |
43002 |
Bad/incomplete configuration Failed to initialize video decoder ‘{}’ |
UnsupportedVideoFormat |
43003 |
Bad/incomplete input data Unsupported video format |
VideoDecodingError |
43004 |
Bad/incomplete input data Error occurred while decoding video by url {} |
LargeVideo |
43005 |
Bad/incomplete input data Video file by url ‘{}’ has too large size ({}) |
UnsupportedAnalytics |
43006 |
Forbidden Unsupported analytics ‘{}’ |
AnalyticsManagerError |
43007 |
Internal server error Video analytics processing failed: {} |
AnalyticsLoadError |
43008 |
Bad/incomplete input data {} |
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 {} |
ValidationFailed |
100016 |
Failed validation {} |
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 luna_lambda.crutches_on_wheels.cow.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 luna_lambda.crutches_on_wheels.cow.errors.errors.ApplicationServerError[source]
Application server error. .. rubric:: References
- class luna_lambda.crutches_on_wheels.cow.errors.errors.ConfiguratorError[source]
Luna-configurator errors.
- class luna_lambda.crutches_on_wheels.cow.errors.errors.Error[source]
Common errors class.
- class luna_lambda.crutches_on_wheels.cow.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.
- Return type:
Dict
- Returns:
dict with keys “error_code”, “desc”, “detail”, “link”
- format(*formatArgs)[source]
The time has come.
- Parameters:
formatArgs – args to format the current
- Return type:
- Returns:
error with formatted detail
>>> error = ErrorInfo(777, '777', 'some {} data {}') >>> error = error.format('useful', '4 u') >>> error.detail 'some useful data 4 u'
- classmethod fromDict(error)[source]
Convert dict to error.
- Parameters:
error (
Dict
[str
,Union
[int
,str
]]) – dict with keys “error_code”, “desc”, “detail”- Return type:
- Returns:
ErrorInfo instance
- property link: str
Get link with error info.
- Return type:
str
- class luna_lambda.crutches_on_wheels.cow.errors.errors.ImageProcessingError[source]
Image processing errors
- class luna_lambda.crutches_on_wheels.cow.errors.errors.LivenessErrors[source]
Liveness prediction errors
- class luna_lambda.crutches_on_wheels.cow.errors.errors.LunaCachedMatcher[source]
Luna-cached-matcher error
- class luna_lambda.crutches_on_wheels.cow.errors.errors.LunaHealthCheckError[source]
Health check error.
- class luna_lambda.crutches_on_wheels.cow.errors.errors.LunaImageStoreError[source]
Luna-image-store errors
- class luna_lambda.crutches_on_wheels.cow.errors.errors.LunaPythonMatcher[source]
Luna-python-matcher errors