Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
Resource unavailable.
Possible Cause
The image is transferred across threads, and the original object cannot call the API.
Solution
Check the image and follow the instructions to decode it.
Error Message
Transaction operation failed.
Possible Cause
Solution
Check the image and follow the instructions to decode it.
Error Message
RPC error.
Possible Cause
Solution
Check the image and follow the instructions to decode it.
Error Message
Shared memory does not exist.
Possible Cause
Solution
Check the memory usage or restart the device.
Error Message
Shared memory data abnormal.
Possible Cause
Solution
Restart the device.
Error Message
Image decoding abnormal.
Possible Cause
Solution
Check the image and follow the instructions to decode it.
Error Message
The image data is abnormal.
Possible Cause
Solution
Use a valid image.
Error Message
Image malloc abnormal.
Possible Cause
The device memory is insufficient or occupied.
Solution
Clear the memory and try again.
Error Message
Image types are not supported.
Possible Cause
The input image type is not supported.
Solution
Change the image type and try again.
Error Message
Image initialization abnormal.
Possible Cause
Solution
Correct the parameters or user another image.
Error Message
Failed to get the image data.
Possible Cause
Solution
Correct the image data or use another image.
Error Message
The image data is too large.
Possible Cause
The image is too large.
Solution
Use a smaller image.
Error Message
Image conversion abnormal.
Possible Cause
Solution
Correct the encoding parameters or use another image.
Error Message
Image color conversion is abnormal.
Possible Cause
Solution
Try again or change the image type.
Error Message
Cropping exceptions.
Possible Cause
Solution
Correct the cropping parameters or image data.
Error Message
The image source data is abnormal.
Possible Cause
The image source data is missing or incorrect.
Solution
Check the operation procedure or use another image.
Error Message
The image source data is incomplete.
Possible Cause
The image source data is missing.
Solution
Check the operation procedure or use another image.
Error Message
The image format does not match.
Possible Cause
The image format does not match.
Solution
Use an image in a matched format.
Error Message
Unknown image format.
Possible Cause
The image format is not supported.
Solution
Use another image.
Error Message
Image source not parsed.
Possible Cause
The image source data is incorrect.
Solution
Correct the image source data.
Error Message
Invalid image parameter.
Possible Cause
An input parameter is invalid.
Solution
Correct the input parameter.
Error Message
Decoding failed.
Possible Cause
Solution
Ensure that the image is read or use another image.
Error Message
Failed to register the plugin.
Possible Cause
Solution
Correct the input data or use another image.
Error Message
Failed to create the plugin.
Possible Cause
Solution
Correct the input data or use another image.
Error Message
Image encoding failed.
Possible Cause
Solution
Correct the input data or use another image.
Error Message
Failed to add the pixel mappings.
Possible Cause
Solution
Check the operation procedure or use another image.
Error Message
Image hardware decoding is not supported.
Possible Cause
Image hardware decoding is used.
Solution
Use another decoding mode.
Error Message
Failed to decode the image header.
Possible Cause
Solution
Correct the image data or use another image.
Error Message
The image does not support EXIF decoding.
Possible Cause
The image does not support Exif decoding.
Solution
Use another image.
Error Message
The image property does not exist.
Possible Cause
Solution
Use another image.
Error Message
The EXIF data is out of range.
Possible Cause
The value of the image property is out of range.
Solution
Change the image or check the length of the image property value.
Error Message
The EXIF value is invalid.
Possible Cause
The image property is missing.
Solution
Correct the image data or use another image.
Error Message
Invalid media operation.
Possible Cause
The current image format does not support this operation.
Solution
Use another image.
Error Message
The EXIF data failed to be written to the file.
Possible Cause
The property values of the image are abnormal.
Solution
Use another image.
Error Message
Invalid MIME type for the image source.
Possible Cause
The current image format does not support this operation.
Solution
Use another image.
Error Message
Failed to encode icc.
Possible Cause
The image ICC information is incorrect.
Solution
Check the image data or use another image.
Error Message
The DMA memory does not exist.
Possible Cause
Solution
Check the memory usage or restart the device.
Error Message
The DMA memory data is abnormal.
Possible Cause
Solution
Restart the device.
Error Message
Abnormal API environment.
Possible Cause
The environment where the API is used is incorrect.
Solution
Check the SDK version.
Error Message
Failed to create the PixelMap.
Possible Cause
Solution
Check whether the input parameters are correct and whether the instance is released in advance.
Error Message
Abnormal buffer size.
Possible Cause
Input parameters are incorrect. For example, the region size exceeds the upper limit or an invalid value is passed in.
Solution
Check the input parameters.
Error Message
FD mapping failed.
Possible Cause
The input file descriptor is incorrect.
Solution
Pass a correct file descriptor.
Error Message
Failed to read the pixel map.
Possible Cause
Solution
Create another PixelMap or request the read permission.
Error Message
Failed to write the pixel map.
Possible Cause
Solution
Create another PixelMap or request the write permission.
Error Message
PixelMap does not allow modification.
Possible Cause
Users try to modify a PixelMap.
Solution
Do not modify the PixelMap.
Error Message
Failed to create surface.
Possible Cause
An error occurred when requesting memory for image encoding.
Solution
Try again or use another image.
Error Message
Configuration error.
Possible Cause
The configuration is incorrect.
Solution
Correct the configuration.
Error Message
The conversion failed.
Possible Cause
Solution
Correct the encoding parameters or use another image.
Error Message
The type to be converted is an unsupported target pixel format.
Possible Cause
The conversion to the target type is not supported.
Solution
Use another image or change the target type.
Error Message
Memory format not supported.
Possible Cause
Solution
Check whether the PixelMap instance has been released. Check whether the memory type matches.
Error Message
Memory copy failed.
Possible Cause
Solution
Check whether the instance to be copied has been released. Check whether the memory type matches.
Error Message
Unsupported operation.
Possible Cause
The operation is not supported.
Solution
Use a supported operation.
Error Message
Unsupported metadata. Possible causes: Unsupported metadata type.
Possible Cause
The metadata read/write operation is not supported. For example, the Exif field to read or write is not supported, or users attempt to obtain specific data from an auxiliary picture of an incorrect type (for example, attempt to obtain GainmapMetadata of a depth map).
Solution
Check whether the auxiliary picture type corresponds to the metadata type, and then perform the read and write operations.
Error Message
Invalid region.
Possible Cause
The area to crop (its position, width, or height) falls outside the dimensions of the original image.
Solution
Adjust the Region parameters so that the entire crop area falls within the dimensions of the original image.
Error Message
Unsupported memory format or pixel format.
Possible Cause
The API does not support the memory format or pixel format of the PixelMap.
Solution
Check the API specifications for the list of supported formats, and convert the PixelMap to a compatible format before passing it to this API.
Error Message
Memory alloc failed.
Possible Cause
The device memory is insufficient or occupied.
Solution
Clear the memory and try again.
Error Message
Memory copy failed.
Possible Cause
The memory to copy does not exist, or the device memory is insufficient.
Solution
Check whether the memory to copy exists. Clear the memory and try again.
Error Message
Unknown error.
Possible Cause
Errors caused by unknown reasons.
Solution
Locate the cause based on logs.
Error Message
Bad source.
Possible Cause
Solution
Check the image data or use another image.
Error Message
Unsupported mimetype.
Possible Cause
The device does not support the image type.
Solution
Check the image data or use another image.
Error Message
Image too large.
Possible Cause
The image size exceeds the upper limit.
Solution
Check the image data or use another image.
Error Message
Unsupported allocator type, e.g., use share memory to decode a HDR image as only DMA supported hdr metadata.
Possible Cause
No memory allocation type is specified, or an incorrect memory allocation type is specified. For example, an error occurs when an HDR image is decoded in shared memory mode, because only the DMA mode supports HDR metadata.
Solution
Use a correct memory allocation type.
Error Message
Unsupported metadata. For example, the property key is not supported, or the property value is invalid.
Possible Cause
Solution
Check whether the metadata field is supported or whether the metadata value is valid.
Error Message
Unsupported options, e.g, cannot convert image into desired pixel format.
Possible Cause
Some parameters are incorrectly configured, or the operation required by the options is not supported.
Solution
Check the parameter settings.
Error Message
Decode failed.
Possible Cause
Solution
Check the image data or use another image.
Error Message
Memory allocation failed.
Possible Cause
Solution
Check the device memory or input data.
Error Message
Failed to write image properties to the file.
Possible Cause
Solution
Check the image data and confirm that you have the required permissions for the image file.
Error Message
Unsupported options.
Possible Cause
Some parameters are incorrectly configured, or the operation required by the options is not supported.
Solution
Check the parameter settings.
Error Message
Encode failed.
Possible Cause
Solution
Correct the input data or use another image.