Error Codes

You are currently viewing the documentation for the latest version (3.0.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Normal Status Codes

Status code Description

kStatusCodeOk

The interface is called successfully.

Error Codes

Error code Description Cause Solution

kStatusCodeLoadPluginFailed

Failed to load inference plugin

Required dependency files (e.g., .dll/plugin) are missing, or the program and dependency files have a bitness mismatch (32-bit versus 64-bit).

Check the runtime dependencies, plugins, and deployment directory of Mech-DLK SDK and try again. If the loading still fails, contact Mech-Mind Technical Support.

kStatusCodeModuleGraphNotInited

Module Graph not initialized

Inference or result retrieval proceeds even if the inference engine fails to create or the model package fails to load.

Confirm that the inference engine has been created and the model package has been loaded successfully before performing inference.

kStatusCodeUnsupportedBackendType

Inference device type not supported

The model package does not support the selected inference device type. Common cases include: General model packages for Text Detection and Text Recognition do not support GPU (default), while Fast Positioning model packages do not support GPU (optimization).

Adjust the inference device type to the one supported by the model, and then perform inference after the model package is reloaded.

kStatuscodeExecutionError

Inference Execution Abnormality

This can be caused by multiple reasons. Please locate the specific reasons according to the log information.

Locate the specific problem based on the log and then perform inference again.

kStatusCodeInvalidFilePath

Invalid File Path

The path is invalid, not present, or is inaccessible.

Check if the file path is valid and accessible.

kStatusCodeModelPackMd5Error

Model Package MD5 Verification Failure

Model package integrity verification failed.

Obtain the model package again and verify the integrity of the file.

kStatusCodeModelPackAccessError

Model package access failed

The model package file cannot be accessed.

Check the file permissions, occupation status, and path validity.

kStatusCodeModelPackUnzipFailed

Model package decompression failed

The contents of the model package are abnormal or the decompression process failed.

Re-export or re-obtain the model package and try again.

kStatusCodeUnsupportedModelType

Model type not supported

The current model type does not support inference from Mech-DLK SDK.

Confirm the inference software supported by the current model package first, and then use the corresponding software for inference.

kStatusCodeUnsupportedModelPackVersion

Model package versions not supported

The model package version is not compatible with the current Mech-DLK SDK.

Use model packages exported from Mech-DLK 2.6.0 or above.

kStatusCodeAuthorityTypeError

Error in license type

The software license type does not match the current function.

Check and update the software license type.

kStatusCodeAlgorithmAuthorityError

Algorithm authorization error

Not authorized for the corresponding algorithm module.

Check and activate the corresponding algorithm module authorization.

kStatusCodeExceedsModuleLimit

Exceeded the maximum number of modules

The number of modules loaded in the current inference engine exceeds the allowable range.

Release the current inference engine and then reload the model package before performing inference.

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.