目录

File Management Error Codes

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

The error codes of the file management subsystem include the following:

- Basic File IO Error Codes

- User Data Management Error Codes

- User File Access Error Codes

- Space Statistics Error Codes

- Device-Cloud Synchronization Error Codes

Basic File IO Error Codes

[h2]13900001 Operation Not Permitted

Error Message

Operation not permitted

Description

The operation is not allowed.

Possible Causes

The caller does not have the permission to access the URI or path.

Solution

  1. According to the current system's access control mechanism, an application cannot use a URI shared with other applications.

  2. According to the running mechanism of system Picker, a URI obtained through Picker has only temporary permission. If continued access is required after the application exits or the device restarts, process it according to the permission persistence procedure.

  3. URI path concatenation is not recommended. A concatenated URI is unauthorized by default.

[h2]13900002 File or Directory Not Exist

Error Message

No such file or directory

Description

The file or directory does not exist.

Possible Causes

  1. The passed-in path is not a sandbox path, or the file or directory does not exist in the application sandbox.

  2. A URI is passed in when the API supports only sandbox paths.

  3. When the API supports URIs, an incorrect URI that is self-concatenated or re-encoded/decoded is passed in.

  4. The API supports only file or directory names encoded in 'utf-8'. Using other encodings may cause the file to not be found.

  5. When creating a file, the directory where the target file is located in the path does not exist.

Solution

  1. Check whether the passed-in path is a sandbox path and whether it exists in the sandbox.

  2. Check whether the wrong parameter type is passed in.

  3. Check whether an incorrect URI that is manually concatenated or re-encoded/decoded is passed in.

  4. Check whether the encoding format of the file or directory name is 'utf-8'.

  5. When creating a file, check whether the parent directory of the file exists.

[h2]13900003 Process Not Exist

Error Message

No such process

Description

No such process exists.

Possible Causes

This error code is reported if a process does not exist.

Solution

  1. Check whether the process is killed unexpectedly.

  2. Check whether the related service is started.

[h2]13900004 System Call Interrupted

Error Message

Interrupted system call

Description

The system call is interrupted.

Possible Causes

The system call is interrupted by another thread.

Solution

  1. Check the multithreading code logic.

  2. Perform the system call again.

[h2]13900005 I/O Error

Error Message

I/O error

Description

I/O error.

Possible Causes

Underlying I/O error: It is usually related to hardware or driver device faults.

  1. Hardware fault: The device is physically damaged and I/O instructions cannot be executed.

  2. Communication link interruption: The link is disconnected during data transmission.

  3. Driver error: The driver is abnormal or the driver version is incompatible.

Solution

  1. Check whether the hardware is normal.

  2. Check whether the USB device is properly connected.

  3. Check and update the driver to ensure version compatibility.

[h2]13900006 Device or Address Not Exist

Error Message

No such device or address

Description

The device or address does not exist.

Possible Causes

The device information or address is incorrect.

Solution

Check whether the device connection status and address configuration are correct.

[h2]13900007 Long Parameter List

Error Message

Arg list too long

Description

The parameter list is too long.

Possible Causes

The parameter list is too long.

Solution

Reduce the number of parameters.

[h2]13900008 Abnormal File Descriptor

Error Message

Bad file descriptor

Description

The file descriptor is abnormal.

Possible Causes

  1. The file descriptor has been closed.

  2. The read/write permissions do not match.

Solution

  1. Check whether the file descriptor has been closed.

  2. Check whether the read/write permissions of the file match.

[h2]13900009 Child Process Not Exist

Error Message

No child processes

Description

No child process exists.

Possible Causes

The child process cannot be created.

Solution

Check the maximum number of processes in the system.

[h2]13900010 Resource Unavailable

Error Message

Try again

Description

The resources are unavailable.

Possible Causes

The resources are blocked.

Solution

Request the resource again.

[h2]13900011 Memory Overflow

Error Message

Out of memory

Description

A memory overflow occurs.

Possible Causes

A memory overflow occurs.

Solution

  1. Check the memory overhead.

  2. Manage the system memory overhead.

[h2]13900012 Permission Denied

Error Message

Permission denied

Description

The permission is denied.

Possible Causes

  1. The file operation is blocked by DAC or SELinux.

  2. The file sandbox path address is incorrect.

Solution

  1. The access is blocked by DAC discretionary access control. Check the UGO permissions of the file.

  2. Check the kernel log for avc interception logs. If an avc interception alarm exists, You can visit the HUAWEI Developers website and click Online ticket submission under Support for help.

  3. Confirm whether the file path is a sandbox path within the application (App Sandbox Directory and App Sandbox Path). The file management system prohibits operations on documents outside the application sandbox.

[h2]13900013 Incorrect Address

Error Message

Bad address

Description

The address is incorrect.

Possible Causes

The address is incorrect.

Solution

Check that the address is correct.

[h2]13900014 Device or Resource Not Available

Error Message

Device or resource busy

Description

The device or resource is busy.

Possible Causes

The requested resource is unavailable.

Solution

Request the resource again.

[h2]13900015 File Already Exists

Error Message

File exists

Description

The file already exists.

Possible Causes

The file to be created already exists.

Solution

Check whether the file path is correct.

[h2]13900017 Device Not Exist

Error Message

No such device

Description

The device does not exist.

Possible Causes

The device is not identified.

Solution

Check the connection to the target device.

[h2]13900018 Invalid Directory

Error Message

Not a directory

Description

The specified directory is invalid.

Possible Causes

The specified directory is invalid.

Solution

Check that the specified data is correct.

[h2]13900019 The Specified Object Is a Directory

Error Message

Is a directory

Description

The specified object is a directory.

Possible Causes

The specified object is a directory.

Solution

Check that the specified data is correct.

[h2]13900020 Invalid Parameter

Error Message

Invalid argument

Description

The parameter is invalid.

Possible Causes

The input parameter is invalid.

Solution

Check that the input parameters are valid.

[h2]13900021 Too Many File Descriptors Opened

Error Message

File table overflow

Description

Too many file descriptors are opened.

Possible Causes

The number of file descriptors opened has reached the limit.

Solution

Close the file descriptors that are no longer required.

[h2]13900022 Too Many Files Opened

Error Message

Too many open files

Description

Too many files are opened.

Possible Causes

The number of files opened has reached the limit.

Solution

Close the files that are not required.

[h2]13900023 Text File Not Respond

Error Message

Text file busy

Description

The text file is busy.

Possible Causes

The executable file of the program is in use.

Solution

Close the program that is being debugged.

[h2]13900024 File Oversized

Error Message

File too large

Description

The file is too large.

Possible Causes

The file size exceeds the limit.

Solution

Check whether the file size exceeds the limit.

[h2]13900025 Insufficient Space on the Device

Error Message

No space left on device

Description

The remaining space on the device is insufficient.

Possible Causes

The device storage space is insufficient.

Solution

Clear the space of the device.

[h2]13900026 Invalid Shift

Error Message

Illegal seek

Description

Invalid shift.

Possible Causes

Seek is used in pipe or FIFO.

Solution

Check the use of seek().

[h2]13900027 Read-Only File System

Error Message

Read-only file system

Description

This is a read-only file system.

Possible Causes

The file system allows read operations only.

Solution

Check whether the file is read-only.

[h2]13900029 Resource Deadlock

Error Message

Resource deadlock would occur

Description

Resource deadlock occurs.

Possible Causes

Resource deadlock occurs.

Solution

Terminate the deadlock process.

[h2]13900030 Long File Name

Error Message

Filename too Long

Description

The file name is too long.

Possible Causes

The file name length exceeds 255 bytes.

Solution

Check the file name length.

[h2]13900031 Function Not Implemented

Error Message

Function not implemented

Description

The function is not implemented.

Possible Causes

The function is not supported by the system.

Solution

Check the system version and update the system if required.

[h2]13900032 Directory Not Empty

Error Message

Directory not empty

Description

The directory is not empty.

Possible Causes

The specified directory is not empty.

Solution

Confirm whether the directory is empty.

[h2]13900034 Operation Blocked

Error Message

Operation would block

Description

The operation is blocked.

Possible Causes

The operation is blocked.

Solution

Perform the operation again.

[h2]13900035 Invalid File Descriptor

Error Message

Invalid request descriptor

Description

The requested file descriptor is invalid.

Possible Causes

The requested file descriptor is invalid.

Solution

Check that the file descriptor is valid.

[h2]13900036 Target Is Not a Character Stream Device

Error Message

Device not a stream

Description

The device is not a character stream.

Possible Causes

The device pointed to by the file descriptor is not a character stream device.

Solution

Check whether the file descriptor points to a stream.

[h2]13900037 No Data Available

Error Message

No data available

Description

No data is available.

Possible Causes

The required data is not available.

Solution

Request the data again.

[h2]13900038 Value Too Large for Defined Data Type

Error Message

Value too large for defined data type

Description

The variable value exceeds the maximum value specified by the data type.

Possible Causes

The specified value is out of the range defined for the data type.

Solution

Modify the data type.

[h2]13900039 File Descriptor Corrupted

Error Message

File descriptor in bad state

Description

The file descriptor is in an abnormal state.

Possible Causes

The file descriptor is corrupted.

Solution

Check that the file descriptor is valid.

[h2]13900040 System Call Not Started

Error Message

Interrupted system call should be restarted

Description

The interrupted system call should be restarted.

Possible Causes

The system call is interrupted.

Solution

Invoke the system call again.

[h2]13900041 Disk Quota Exceeded

Error Message

Quota exceeded

Description

The disk quota is exceeded.

Possible Causes

Insufficient storage space.

Solution

Clear disk space.

[h2]13900042 Unknown Error

Error Message

Unknown error

Description

Unknown error.

Possible Causes

Internal error

Solution

  1. Retry the API.

  2. Restart the service.

[h2]13900043 No Available Lock

Error Message

No record is locks available

Description

No lock is available.

Possible Causes

Lock resources are insufficient.

Solution

Wait until a lock is released and try again.

[h2]13900044 Network Access Failure

Error Message

Network is unreachable

Description

The network cannot be accessed.

Possible Causes

A network error occurs.

Solution

Check the network status.

[h2]13900045 Connection Failed

Error Message

Connection failed

Description

The connection fails.

Possible Causes

The device is abnormal, or Wi-Fi or Bluetooth is unavailable.

Solution

  1. Check the device and confirm that it is in a normal state.

  2. Check Wi-Fi and Bluetooth and confirm that they are in a normal state.

[h2]13900046 Connection Interrupted by Software

Error Message

Software caused connection abort

Description

The connection is interrupted by software.

Possible Causes

The device goes offline, or the Wi-Fi or Bluetooth is disconnected.

Solution

  1. Check the device and confirm that it is in a normal state.

  2. Check Wi-Fi and Bluetooth and confirm that they are in a normal state.

[h2]13900050 Internal Resource Error

Error Message

Internal resource error.

Description

Internal resource error.

Possible Causes

Failed to allocate internal system resources.

Solution

Run the current code again.

[h2]13900051 Buffer Read/Write Out of Bounds

Error Message

Buffer read/write out of bounds.

Description

The mmap buffer is read or written out of bounds.

Possible Causes

The length of the data to be read or written exceeds the remaining available space of the mmap mapping area.

Solution

  1. Call remaining to check the remaining available space of the mapping area.

  2. If a larger range needs to be operated, call setLimit first to adjust the limit value.

[h2]13900052 mmap Buffer Released

Error Message

Mmap buffer released.

Description

The mmap buffer has been released.

Possible Causes

  1. An operation is performed on a buffer that has been released by calling unmap/unmapSync.

  2. The internal state of the FileMapping object is invalid.

Solution

  1. Check whether the mmap buffer has been released by calling unmap/unmapSync.

  2. If the code has already called unmap/unmapSync, call mmap/mmapSync again to establish a new mapping.

[h2]13900053 Read-only mmap buffer

Error Message

Read-only mmap buffer.

Description

The mmap buffer is read-only.

Possible Causes

A write operation is attempted on a buffer mapped in read-only mode.

Solution

Call mmap/mmapSync again and set the mapping mode to read-write mode or private mode.

[h2]13900054 mmap Buffer Inaccessible

Error Message

Mmap buffer is inaccessible.

Description

The mmap buffer is inaccessible.

Possible Causes

A system memory mapping exception causes the buffer pointer to become invalid.

Solution

Call mmap/mmapSync again to map the file.

[h2]13900055 mmap Mapping Type Does Not Support This Operation

Error Message

Mmap operation not supported.

Description

The mmap mapping type does not support this operation.

Possible Causes

When msync writes to the disk, the mapped area is in read-only mode or private mode.

Solution

Call mmap/mmapSync again and set the mapping mode to read-write mode.

[h2]13900056 mmap Does Not Support Mapping This File

Error Message

Mmap does not support mapping this file.

Description

mmap does not support mapping this file.

Possible Causes

The target file is not a regular file, such as a pipe, socket, or device file.

Solution

Use file access APIs such as read, write, or Stream instead of mmap.

User Data Management Error Codes

[h2]14000001 Invalid File Name

Error Message

Invalid file name

Description

Invalid file name.

Possible Causes

The file name contains invalid characters.

Solution

Modify the file name.

[h2]14000002 Invalid URI

Error Message

Invalid URI

Description

Invalid URI.

Possible Causes

The URI is invalid.

Solution

Use the obtained URI.

[h2]14000003 Invalid File Name Extension

Error Message

Invalid file name extension

Description

Invalid file name extension.

Possible Causes

The file name extension is incorrect.

Solution

Modify the file name extension.

[h2]14000004 File in Recycle Bin

Error Message

File already in the recycle bin

Description

The file has been moved to the recycle bin.

Possible Causes

The file is moved to the Recycle Bin.

Solution

Check whether the file is in the Recycle Bin.

[h2]14000011 Internal System Error

Error Message

System inner fail

Description

This error code is reported if an internal system error occurs.

Possible Causes

An unidentified error occurs in the system.

Solution

Clear the background or restart the device.

[h2]14000014 Invalid Member Name

Error Message

Member is not a valid PhotoKey

Description

Invalid member name.

Possible Causes

The input string is not a member name of a class or interface.

Solution

Ensure that the input string is the member name of the class or interface.

[h2]14000016 Operation Type Not Supported

Error Message

Operation Not Support

Description

The current operation type is not supported.

Possible Causes

  1. A Moving Photo related operation is performed on a resource that is not of the Moving Photo type.

  2. The same URI is operated again on a resource that has already been added, moved, or removed.

  3. The resource is modified again before the previous resource creation/modification request is committed (including CREATE_FROM_URI/GET_WRITE_CACHE_HANDLER/ADD_RESOURCE operations).

  4. A video-specific operation such as video enhancement is performed on a resource that is not of the video type (MediaType.VIDEO).

  5. An operation that is not allowed is performed on a non-user album or a non-highlight album.

Solution

  1. Confirm the resource type.

    • When performing a Moving Photo related operation (such as setMovingPhotoEffectMode), ensure that the resource is of the Moving Photo type.
    • When performing video enhancement operations (such as setVideoEnhancementAttr), ensure that MediaType is VIDEO.
  2. Avoid repeated operations.

    • Before calling addAssets/removeAssets/moveAssets, check whether the operation has already been performed to avoid consecutive duplicate calls.
  3. Modify only after the commit is complete.

    • After calling createImageAssetRequest/createVideoAssetRequest/getWriteCacheHandler/addResource, call applyChanges to commit and take effect.
    • A new modification request can be initiated for the created asset only after the commit takes effect.
  4. Confirm the album type.

    • addAssets/removeAssets support only user albums and highlight albums.
    • System albums (such as the camera and screenshot albums) do not support these operations.

Space Statistics Error Codes

[h2]13600001 IPC Failed

Error Message

IPC error

Description

IPC fails.

Possible Causes

The called service does not exist.

Solution

Check whether the service is started.

[h2]13600002 File System Not Supported

Error Message

File system not supported

Description

The file system is not supported.

Possible Causes

The file system is not supported.

Solution

Use a supported file system.

[h2]13600003 Mount Failed

Error Message

Mount failed

Description

The mounting fails.

Possible Causes

The mount command fails.

Solution

Remove the card and run the mount command again.

[h2]13600004 Unmount Failed

Error Message

Unmount failed

Description

The unmounting fails.

Possible Causes

The device does not respond.

Solution

Check whether the external card file is occupied by a thread, and kill the occupying thread.

[h2]13600005 Incorrect Volume State

Error Message

Incorrect volume state

Description

The volume state is incorrect.

Possible Causes

The volume state is incorrect.

Solution

Check whether the current volume state is correct.

[h2]13600006 Failed to Create a Directory or Node

Error Message

Failed to create the directory or node

Description

Failed to create a directory or node.

Possible Causes

The directory or node to be created already exists.

Solution

Check whether the directory or node to be created already exists.

[h2]13600007 Failed to Delete a Directory or Node

Error Message

Failed to delete the directory or node

Description

Failed to delete the directory or node.

Possible Causes

The specified directory or node has been deleted.

Solution

Check whether the specified directory or node exists.

[h2]13600008 Object Not Exist

Error Message

No such object

Description

The operation object does not exist.

Possible Causes

  1. An incorrect volume ID is entered.

  2. An incorrect bundle name is entered.

Solution

  1. Check whether the entered volume exists.

  2. Check whether the entered application bundle name exists.

[h2]13600009 Invalid User ID

Error Message

User ID out of range

Description

The user ID is out of range.

Possible Causes

The specified user ID is incorrect.

Solution

Check that the user ID is correct.

[h2]13600010 Invalid Input Parameter

Error Message

The input parameter is invalid.

Description

The input parameter is invalid.

Possible Causes

The input parameter is incorrect.

Solution

Check whether the input parameter is within the invalid range.

[h2]13600011 Failed to Report the Space Usage of a Specified Service

Error Message

Failed to report the specified business space usage.

Description

Failed to report the space usage of a specified service.

Possible Causes

The interaction with the database is abnormal.

Solution

Restart the device and try again.

[h2]13600012 Failed to Query the Space Usage of a Specified Service

Error Message

Failed to query the specified business space usage.

Description

Failed to query the space usage of a specified service.

Possible Causes

The interaction with the database is abnormal.

Solution

Restart the device and try again.

[h2]13600013 Failed to Query the Space Usage of All Services

Error Message

Failed to query all business space usage.

Description

Failed to query the space usage of all services.

Possible Causes

The interaction with the database is abnormal.

Solution

Restart the device and try again.

[h2]13600015 Failed to Obtain Disk Space Usage Information

Error Message

Failed to traverse the query data partition directory.

Description

Failed to obtain the disk space usage information.

Possible Causes

The underlying file system is abnormal.

Solution

Restart the device and try again.

[h2]13600016 Failed to Obtain the Number of Inodes in the File System

Error Message

Failed to query the inode information of the data partition.

Description

Failed to obtain the inode information of the data partition.

Possible Causes

The underlying file system is abnormal.

Solution

Restart the device and try again.

[h2]13600017 Failed to Obtain the Inode Usage of the Current Application

Error Message

Failed to query the inode information of the application.

Description

Failed to obtain the inode usage of the current application.

Possible Causes

The underlying file system is abnormal.

Solution

Restart the device and try again.

[h2]13600018 Failed to Query the System Data Size

Error Message

Failed to query the system data size.

Description

Failed to query the system data size.

Possible Causes

The underlying file system is abnormal.

Solution

Restart the device and try again.

[h2]13600021 Failed to Obtain Partition Table

Error Message

Get partition table failed.

Description

Failed to obtain the partition table.

Possible Causes

  1. The disk is in an inoperable state.

  2. An internal process failed to execute or an internal error occurred.

Solution

  1. Reconnect the device and try again.

  2. You can visit the HUAWEI Developers website and click Online ticket submission under Support for help.

[h2]13600022 Failed to Create a Partition

Error Message

Create partition failed.

Description

Failed to create a partition.

Possible Causes

  1. The partition parameters are invalid.

  2. The unallocated space on the disk is insufficient.

  3. An internal process failed to execute or an internal error occurred.

Solution

  1. Check whether the partition parameters (start sector and end sector) are within the valid range.

  2. Check whether the disk has sufficient unallocated space.

  3. You can visit the HUAWEI Developers website and click Online ticket submission under Support for help.

[h2]13600023 Failed to Delete a Partition

Error Message

Delete partition failed.

Description

Failed to delete the partition.

Possible Causes

  1. The disk is in an inoperable state.

  2. An internal process failed to execute or an internal error occurred.

Solution

  1. Reconnect the device and try again.

  2. You can visit the HUAWEI Developers website and click Online ticket submission under Support for help.

[h2]13600024 Empty Disc

Error Message

Empty disc.

Description

The disc is empty.

Possible Causes

The disc contains no data or is not correctly recognized.

Solution

  1. Confirm that the disc is correctly inserted into the optical drive.

  2. Confirm that the disc contains valid data.

[h2]13600025 Failed to Write the ISO File

Error Message

Failed to write the ISO file.

Description

Failed to write the ISO file.

Possible Causes

  1. The ISO file is corrupted or in an incorrect format.

  2. An I/O error occurred during the write process.

  3. Insufficient permission to write to the disc.

Solution

  1. Check the integrity of the ISO file.

  2. Confirm that the disc is in a normal state and writable.

  3. Retry the write operation.

[h2]13600026 Erase Operation Failed

Error Message

Erase operation failed.

Description

The erase operation failed.

Possible Causes

The optical drive was unplugged by the user during the erase process.

Solution

Reinsert the optical drive and wait for the erase to complete.

[h2]13600027 Source Data Not Found

Error Message

Source data not found.

Description

The source data is not found.

Possible Causes

  1. The source file path is incorrect or the file does not exist.

  2. The source data has been deleted or moved.

Solution

  1. Confirm that the source file path is correct.

  2. Confirm that the source file exists and is accessible.

[h2]13600028 Burn Operation Failed

Error Message

Burn operation failed.

Description

The burn operation failed.

Possible Causes

  1. The optical drive has a hardware fault or an abnormal connection.

  2. The burn process was interrupted or timed out.

  3. The disc is of poor quality or is damaged.

Solution

  1. Check that the optical drive is connected and in a normally recognized idle state.

  2. Replace the disc with one of good quality.

  3. Reduce the burn speed and retry.

[h2]13600029 No Ongoing Operation

Error Message

No ongoing operation.

Description

No ongoing operation.

Possible Causes

A burning task that does not exist or has not started is queried.

Solution

Check whether there is an ongoing burning operation.

[h2]13600030 Verification Failed

Error Message

Verification failed.

Description

Verification failed.

Possible Causes

  1. The burned data is inconsistent with the source data.

  2. A disc read error occurs.

  3. An error occurs during data transmission.

Solution

  1. Perform the burning operation again.

  2. Check the disc quality and the optical drive status.

  3. Verify the integrity of the source data.

[h2]13600031 Data Mismatch

Error Message

Data mismatch.

Description

Data mismatch.

Possible Causes

The burned data differs from the original source data.

Solution

  1. Burn the data again and verify it.

  2. Check whether the source file was modified during the burning process.

  3. Replace the disc or the optical drive and try again.

[h2]13600032 Failed to Format Partition

Error Message

Format partition failed.

Description

Failed to format the partition.

Possible Causes

  1. The disk is in an inoperable state.

  2. An internal process failed to execute or an internal error occurred.

Solution

  1. Reconnect the device and try again.

  2. You can visit the HUAWEI Developers website and click Online ticket submission under Support for help.

User File Access Error Codes

[h2]14300001 IPC Failed

Error Message

IPC error

Description

IPC fails.

Possible Causes

  1. The server-side service is unavailable.

  2. The extension mechanism is abnormal.

Solution

Check that the server service exists.

[h2]14300002 Incorrect URI Format

Error Message

Invalid URI

Description

The URI format is incorrect.

Possible Causes

The URI is invalid.

Solution

Check that the URI is in correct format.

[h2]14300003 Failed to Obtain the Server Ability Information

Error Message

Failed to obtain the server ability information

Description

Failed to obtain the server ability information.

Possible Causes

The BMS interface is abnormal.

Solution

Check for basic system capability errors. You can visit the HUAWEI Developers website and click Online ticket submission under Support for help.

[h2]14300004 Incorrect Result Returned by js-server

Error Message

Incorrect result returned by js-server

Description

An incorrect result is returned by js-server.

Possible Causes

The data returned by the server is incorrect.

Solution

Check the data returned by the server.

[h2]14300005 Failed to Register Notify

Error Message

Failed to register notify

Description

Failed to register notify.

Possible Causes

  1. The server-side service is unavailable.

  2. The extension mechanism is abnormal.

Solution

Check that the server service exists.

[h2]14300006 Failed to Unregister Notify

Error Message

Failed to unregister notify

Description

Failed to remove the notify.

Possible Causes

  1. The server-side service is unavailable.

  2. The extension mechanism is abnormal.

Solution

Check that the server service exists.

[h2]14300007 Failed to Initialize the Notify Agent

Error Message

Failed to initialize the notify agent

Description

The notify agent fails to be initialized.

Possible Causes

The specified Notify agent has not been registered.

Solution

Check whether the Notify agent has been registered.

[h2]14300008 Failed to Notify the Agent

Error Message

Failed to notify the agent

Description

The js-server fails to notify the agent.

Possible Causes

  1. The service is unavailable.

  2. The extension mechanism is abnormal.

Solution

Check whether the client is normal.

Device-Cloud Synchronization Error Codes

[h2]22400001 Cloud Unavailable

Error Message

Cloud status not ready

Possible Causes

  1. Cloud is not enabled.

  2. The cloud synchronization switch of the application is not turned on.

Solution

  1. Check whether the account is logged in.

  2. Check whether the cloud synchronization switch is turned on.

[h2]22400002 Network Unavailable

Error Message

Network unavailable

Possible Causes

The device is not connected to the network or the network is unavailable.

Solution

Check the network status.

[h2]22400003 Low Battery Level

Error Message

Low battery level

Possible Causes

The battery level is low.

Solution

Perform the operation after the battery is being charged or the battery level is restored.

[h2]22400004 Maximum Number of Input Parameters Reached

Error Message

Exceeded the maximum limit

Possible Causes

The number of requests exceeds the upper limit defined by API specifications.

Solution

Check the input parameters and ensure that the number of requests meets the specifications.

[h2]22400005 Internal Error

Error Message

Inner error

Possible Causes

  1. The internal database request of the system fails or the SQL execution fails.

  2. The system encounters exceptions such as a null pointer.

  3. The system runs out of memory or encounters a memory exception.

  4. A JS framework exception occurs.

Solution

Check for basic system capability errors. You can visit the HUAWEI Developers website and click Online ticket submission under Support for help.

[h2]22400006 Task Running of the Same Type

Error Message

The same task is already in progress

Possible Causes

A task of the same type is running.

Solution

Wait until the existing tasks of the same type are complete, or call stop() to stop the existing tasks and trigger a new task.

[h2]22400007 Historical File Specified to Replace the Original File Not Exist

Error Message

The version file specified to replace the original file does not exist

Possible Causes

The files of earlier versions are not downloaded or have been deleted.

Solution

Download the specified historical version file again. Ensure that the file exists.