This section describes only the error codes related to Game Service Kit. For details about universal error codes, please refer to Universal Error Codes.
Message
System internal error.
Description
Common game error.
Possible causes
An internal error occurs in the Game Service Kit system.
Solution
Submit a ticket online. Huawei engineers will handle the problems in time.
Message
Auth Failed.
Description
Authentication failed.
Possible causes
The network connection is abnormal, or a parameter is incorrect.
Solution
Message
Invalid request.
Description
Invalid request.
Possible causes
Other APIs are called when the initialization is not performed or fails.
Solution
Call the init API first and ensure that the API is successfully called.
Message
System internal error.
Description
Common game error.
Possible causes
An internal error occurs in the Game Service Kit system.
Solution
Submit a ticket online. Huawei engineers will handle the problems in time.
Message
Network connection error.
Description
Network error.
Possible causes
Network connection error.
Solution
Check whether the network is properly connected.
Message
The HUAWEI ID is not signed in or not authorized.
Description
No HUAWEI ID information is found.
Possible causes
No HUAWEI ID information is found.
Solution
Ensure that the user has signed in using a HUAWEI ID and granted authorization.
Message
User cancels real name authentication or not real name.
Description
Identity verification is required but the player cancels it or identity verification has not been performed.
Possible causes
Identity verification is required but the player cancels it or identity verification has not been performed.
Solution
Check whether the HUAWEI ID has passed identity verification.
Message
The country or region of the signed-in Huawei ID does not support.
Description
Supported HUAWEI IDs: HUAWEI IDs of which the service and registration locations are both the Chinese mainland.
Possible causes
The service and registration locations of the HUAWEI ID are not the Chinese mainland.
Solution
Check whether the service and registration locations of the HUAWEI ID are the Chinese mainland.
Message
User is underage and has no playable time.
Description
The player is a minor and the current time is not within the permitted game duration.
Possible causes
The player is a minor and the current time is not within the permitted game duration.
Solution
Check whether the current time is between 20:00 to 21:00 on Fridays, weekends, and legal holidays. If not, the player is not allowed to play the game. If so, submit a ticket online. Huawei engineers will handle the problem in time.
Message
The HUAWEI ID is in the blocklist.
Description
The HUAWEI ID is in the blocklist.
Possible causes
The account is forbidden to sign in to the game.
Solution
Submit a ticket online. Huawei engineers will handle the problems in time.
Message
The game account is unavailable for the game.
Description
This API cannot be called by the current game.
Possible causes
This API cannot be called by the current game.
Solution
Submit a ticket online. Huawei engineers will handle the problems in time.
Message
The playerId is not current player.
Description
teamPlayerId does not match the current player.
Possible causes
When the bindPlayer or unbindPlayer API is called, an incorrect teamPlayerId is passed.
Solution
Check whether teamPlayerId is correct. If it is not correct, call the bindPlayer or unbindPlayer API again to transfer the correct teamPlayerId.
Message
Agreement not agreed.
Description
The player has not confirmed the agreement or privacy statement
Possible causes
The player cancels the privacy agreement, or another API is called before the init API is successfully called.
Solution
Call the init API again.
Message
The thirdOpenId or teamPlayerId has been bound.
Description
The official game account has been associated with teamPlayerId.
Possible causes
When the bindPlayer API is called, the official game account has been associated with teamPlayerId.
Solution
No action is required.
Message
The thirdOpenId and teamPlayerId are not bound.
Description
The official game account is not associated with teamPlayerId.
Possible causes
When the unbindPlayer API is called, the official game account is not associated with teamPlayerId.
Solution
No action is required.
Message
This interface is not available for this game.
Description
This API is not available for this game.
Possible causes
This API cannot be called by the current game.
Solution
Submit a ticket online. Huawei engineers will handle the problems in time.
Message
The current player information is invalid.
Description
The player information is invalid.
Possible causes
The player information has expired.
Solution
Call the unionLogin API again to obtain the player information.
Message
User cancels union login.
Description
The player cancels multi-provider sign-in.
Possible causes
The player cancels multi-provider sign-in during the multi-provider sign-in process.
Solution
To continue the sign-in, call the unionLogin API again.
Message
Illegal application identity.
Description
Invalid app.
Possible causes
The configuration information, such as the client ID, app ID, and signature, is incorrect or missing.
Solution
Check whether information, such as the client ID, app ID, and signature, is correctly configured, and supplement or modify the configuration as required.