# General Module Status Codes (20000-29999)

Each status code corresponds to a possible outcome of an operation. Users can use these status codes to determine the result of their requests.

In API calls, you may encounter the following general module status codes, each indicating a potential error type. Here are common error types and suggested handling approaches:

# General Module Basic Status Codes (20000-20099)

# 20000 Execution Successful

  • Description: Operation completed successfully.
  • Solution: No additional action required.

# 20001 Unknown Error

  • Description: An unknown error occurred.
  • Solution: Check logs or contact the system administrator for detailed error information and necessary investigation and repair.

# 20002 Parameter Error

  • Description: The request contained incorrect parameters.
  • Solution: Verify the parameters in the request to ensure they are correctly formatted and valid.

# 20003 Null Pointer

  • Description: A null pointer exception occurred.
  • Solution: Check the code to ensure no null pointers are being used, and fix any issues that could cause a null pointer exception.

# 20004 Memory Allocation Error

  • Description: There was an error allocating memory.
  • Solution: Check the memory allocation code to ensure proper memory release and fix any issues that could cause a memory allocation error.

# 20005 Insufficient Memory Space

  • Description: There is insufficient system memory space.
  • Solution: Release unnecessary resources, increase system memory, or optimize the program to reduce memory usage.

# 20006 Insufficient Disk Space

  • Description: There is insufficient disk space.
  • Solution: Free up disk space or increase disk capacity.

# 20007 Unsupported

  • Description: The requested operation is not supported.
  • Solution: Verify that the requested operation is within the system’s capabilities.

# 20008 Not Implemented

  • Description: The requested feature is not implemented.
  • Solution: Wait for system updates or contact the system administrator for more information.

# 20009 Exceeded Limit

  • Description: The quantity exceeds the system-defined limit.
  • Solution: Reduce the quantity to comply with system-defined limits.

# 20010 Low SDK Version

  • Description: The used SDK version is too low.
  • Solution: Upgrade to a system-supported SDK version.

# 20011 Command Error

  • Description: The received command is incorrect.
  • Solution: Verify the command format and content to ensure it conforms to the system-defined format.

# 20012 Send Data Error

  • Description: Failed to send data.
  • Solution: Check the network connection and data sending code to fix any issues causing the failure.

# 20013 Readback Data Error

  • Description: Failed to read back data.
  • Solution: Check the network connection and data readback code to fix any issues causing the failure.

# 20014 Detection Parameter Error

  • Description: Failed to detect parameters.
  • Solution: Check the parameter detection code to ensure correct parsing and fix any issues causing the failure.

# 20015 Retrieve Parameter Error

  • Description: Failed to retrieve parameters.
  • Solution: Check the parameter retrieval code to ensure correct retrieval and fix any issues causing the failure.

# 20100 Directory Not Found

  • Description: The specified directory does not exist.
  • Solution: Verify the directory path is correct and ensure the directory exists, or create the directory.

# 20101 File Not Found

  • Description: The specified file does not exist.
  • Solution: Verify the file path is correct and ensure the file exists, or create a new file.

# 20102 Invalid File

  • Description: The file format or content is invalid.
  • Solution: Ensure the file format and content conform to system requirements and fix any issues causing the file to be invalid.

# 20103 Create File Error

  • Description: Unable to successfully create the file.
  • Solution: Check the file creation code to ensure proper permissions and path, and fix any issues causing the creation error.

# 20104 Open File Error

  • Description: Unable to successfully open the file.
  • Solution: Check the file path and permissions to ensure the file exists and is readable, and fix any issues causing the opening error.

# 20105 Read/Write File Error

  • Description: Read/write file operation failed.
  • Solution: Check the file read/write permissions to ensure the file can be properly read/written, and fix any issues causing the read/write error.

# 20106 Verify File Error

  • Description: File verification failed.
  • Solution: Check the file content and verification algorithm to ensure file integrity, and fix any issues causing the verification error.

# 20107 Save File Error

  • Description: Failed to save the file.
  • Solution: Check the file write permissions and path to ensure the file can be successfully saved, and fix any issues causing the saving error.

# 20108 Compress File Error

  • Description: Failed to compress the file.
  • Solution: Check the compression algorithm and file permissions to ensure the file can be successfully compressed, and fix any issues causing the compression error.

# 20109 Decompress File Error

  • Description: Failed to decompress the file.
  • Solution: Check the decompression algorithm and file permissions to ensure the file can be successfully decompressed, and fix any issues causing the decompression error.

# 20110 File Mismatch

  • Description: The file content or attributes do not match.
  • Solution: Check the file content and attributes to ensure they match system requirements, and fix any issues causing the mismatch.

# 20111 Incomplete File

  • Description: The file content is incomplete.
  • Solution: Check the file content and transmission process to ensure the file was not corrupted during transmission, and fix any issues causing the incompleteness.

# 20112 File Format Error

  • Description: The file format is incorrect.
  • Solution: Check the file format and specifications to ensure the file format conforms to system requirements, and fix any issues causing the format error.

# 20113 File Data Error

  • Description: Data in the file is incorrect.
  • Solution: Check the file data content to ensure the data is correct, and fix any issues causing the data error.

# 20114 Missing File Data

  • Description: Data is missing from the file.
  • Solution: Check the file integrity and transmission process to ensure no data is missing, and fix any issues causing the missing data.

# 20115 Receive File Error

  • Description: Failed to receive the file.
  • Solution: Check the file transmission process and receiving end to ensure the file can be successfully received, and fix any issues causing the reception error.

# 20116 File Format Conversion Error

  • Description: Failed to convert file format.
  • Solution: Check the file format conversion algorithm and specifications to ensure the file format can be successfully converted, and fix any issues causing the conversion error.

# 20117 Copy File Error

  • Description: Failed to copy the file.
  • Solution: Check the file read/write permissions and target path to ensure the file can be successfully copied, and fix any issues causing the copying error.

# 20118 Rename File Error

  • Description: Failed to rename the file.
  • Solution: Check the file read/write permissions and target path to ensure the file can be successfully renamed, and fix any issues causing the renaming error.

# 20200 JSON Parse Error

  • Description: Failed to parse JSON data.
  • Solution: Check the incoming JSON data to ensure it conforms to JSON format standards, and fix any issues causing the parsing error.

# 20201 Missing JSON Field

  • Description: The JSON data is missing a required field.
  • Solution: Check the JSON data to ensure all required fields are included, and fix any issues causing the missing field.

# 20202 Invalid JSON Field Data Format

  • Description: The data format of a field in the JSON data is incorrect.
  • Solution: Check the data format of each field in the JSON data to ensure it conforms to the standard, and fix any issues causing the invalid format.

# 20300 Erase Error

  • Description: An error occurred while erasing data.
  • Solution: Check the erase operation code and device state to ensure the erase operation can be performed properly, and fix any issues causing the erase error.

# 20301 Write Error

  • Description: An error occurred while writing data.
  • Solution: Check the write operation code and device state to ensure the write operation can be performed properly, and fix any issues causing the write error.

# 20302 Program Error

  • Description: An error occurred while programming data.
  • Solution: Check the programming operation code and device state to ensure the programming operation can be performed properly, and fix any issues causing the programming error.

# 20303 CRC Check Error

  • Description: CRC check failed.
  • Solution: Check the input data to ensure it is complete and the file was not corrupted during transmission, and fix any issues causing the CRC check error.

These handling suggestions are for reference only, and specific actions may vary based on actual circumstances. When encountering issues, investigate according to the specific situation and take appropriate measures.