This section describes only error codes of Cloud Foundation Kit. If other error codes are returned, visit the following links:
Message
No Internet permission.
Description
The network permission is not enabled.
Possible causes
The network permission is not enabled in the project.
Solution
Add the following code to the module.json5 file of the project to enable the network permission:
"requestPermissions": [
{
"name": "ohos.permission.INTERNET"
}
] Message
Parameter error.
Description
An input parameter for calling the API is incorrect.
Possible causes
Solution
Check the input parameter type and value.
Message
Network connection error.
Description
Internet connection error for Cloud Functions.
Possible causes
Solution
Check the network.
Message
Client internal error.
Description
Internal error of the Cloud Functions client.
Possible causes
Client internal error.
Solution
Submit a ticket online to contact technical support.
Message
Server error.
Description
Error on the Cloud Functions server.
Possible causes
The Cloud Functions server is abnormal or authentication fails.
Solution
Submit a ticket online to contact technical support.
Message
Network connection error.
Description
Internet connection error for Cloud Storage.
Possible causes
Solution
Check the network.
Message
Client internal error.
Description
Internal error of the Cloud Storage client.
Possible causes
Client internal error.
Solution
Submit a ticket online to contact technical support.
Message
Server error.
Description
Cloud-side execution error for Cloud Storage.
Possible causes
The cloud file requested by the Cloud Storage client does not exist, the cloud security rules are incorrectly configured, or the authentication fails.
Solution
Check whether the cloud resources and request are correct based on the error information.
Message
Network connection error.
Description
Cloud DB Internet connection error.
Possible causes
Solution
Check the network.
Message
Client internal error.
Description
Internal error of the Cloud DB client.
Possible causes
Client internal error.
Solution
Submit a ticket online to contact technical support.
Message
Schema config error.
Description
The schema.json file of Cloud DB is incorrectly configured.
Possible causes
Solution
Message
Natural object error.
Description
Incorrect code object of Cloud DB.
Possible causes
The storage object name in the code is inconsistent with the actual one.
Solution
Check whether the input storage object name is the same as the actual one.
Message
Server error.
Description
Cloud DB server error.
Possible causes
The Cloud DB server is abnormal or authentication fails.
Solution
Submit a ticket online to contact technical support.