目录

Result Codes

Fine-grained Graphics APIs

Type

Result Code

Value

Description

Solution

NONE

No error

-

0

No error occurs.

-

MODULE_ERR

Module error

MODULE_ERR_UNAVAILABLE

100001

The SceneKit class initialization fails.

First, make sure that you have properly used all the elements described in Overview. Then check whether your initialization code is correct.

MODULE_ERR_UPDATE_NEEDED

100002

The Scene Kit APK needs to be updated.

Obtain the Scene Kit update Intent to start the update Activity.

MODULE_ERR_HMS_NOT_READY

100003

HMS Core (APK) is starting.

Wait until HMS Core (APK) is started and then initialize the Scene Kit APK again.

MODULE_ERR_HMS_IS_UNAVAILABLE

100004

HMS Core (APK) is not installed or is unavailable.

Install the latest version of HMS Core (APK).

STATE_ERR

Internal status error

-

20000X

An internal status error occurs.

Collect the logs and error code and submit a ticket online.

RESOURCE_ERR

Resource error

RESOURCE_ERR_UNSUPPORTED_PROTOCOL

300001

The URI is invalid.

Use a correct URI. For details, please refer to Function Restrictions.

RESOURCE_ERR_UNSUPPORTED_OPTION

300002

This is a reserved error code, which is not in use now.

-

RESOURCE_ERR_UNSUPPORTED_EXTENSION

300003

The file format is not supported.

Upload a file in supported format.

RESOURCE_ERR_BAD_URI

300004

The URI format is incorrect.

Use a URI in the correct format. For details, please refer to Function Restrictions.

RESOURCE_ERR_BAD_PATH

300005

The resource path is invalid.

Use a valid resource path.

RESOURCE_ERR_FILE_NOT_EXISTS

300006

The resource file does not exist.

Check whether the resource file exists.

OPERATION_ERR

Operation error

OPERATION_ERR_NOT_IN_UI_THREAD

400001

The API is not called in the UI thread.

Call this API in the UI thread.

OPERATION_ERR_API_NOT_SUPPORT_VULKAN

400002

The method called does not support Vulkan.

Select GLES in SceneKit.Property.GraphicsBackend for initialization.

OPERATION_ERR_UNSUPPORTED_MANUFACTURER

400003

A non-Huawei device is in use.

Use a Huawei device or load an extended package to support the non-Huawei device.

OPERATION_ERR_UNSUPPORTED_API_LEVEL

400004

The current Android API level is not supported.

Update the Android API level.

OPERATION_ERR_NOT_AVAILABLE_NODE

400005

The node is invalid.

Check whether the node is destroyed.

OPERATION_ERR_NOT_AVAILABLE_SCENE

400006

The scene is invalid.

Check whether the scene is destroyed.

OPERATION_ERR_NOT_AVAILABLE_MODEL

400007

The model is invalid.

Check whether the model is destroyed.

OPERATION_ERR_NOT_AVAILABLE_TEXTURE

400008

The texture is invalid.

Check whether the texture is destroyed.

OPERATION_ERR_BAD_AR_BACKEND

410001

The AR backend is not supported.

Use a supported AR backend.

OPERATION_ERR_BAD_AR_CAPABILITY

410002

AR is not supported on the device.

Use a device that supports AR for debugging.

OPERATION_ERR_BAD_AR_SESSION_CONFIG

410003

The AR session is incorrectly configured.

Configure the AR session correctly.

PARAMS_ERR

Parameter error

PARAMS_ERR_NULL_POINTER_ERR

500001

The input parameter is a null pointer.

Make sure that the input parameter is not set to null.

INTERNAL_ERR

Internal error

-

90000X

An internal error occurs.

Collect the logs and error code and submit a ticket online.

Scenario-based Graphics APIs

Result Code

Value

Description

Solution

SUCCESS

0

Success.

-

ERROR

1

An error occurs.

For details, please refer to the corresponding solution.

ERROR_KIT_NOT_READY

10001

The Scene Kit APK is not ready.

  1. Check whether HMS Core (APK) has been installed.
  2. Check whether HMS Core (APK) is properly started.
  3. Check whether the Scene Kit APK is updated to the latest version.

ERROR_BAD_PARAM

10002

Invalid parameter.

Make sure that the input parameter is valid.

ERROR_BAD_STATE

10003

An internal status error occurs.

Check whether rules in Function Restrictions are followed.

ERROR_INVALID_SDK

10004

An internal error occurs.

Submit a ticket online to report logs.