This topic describes a list of return values that are defined by a GameShield SDK and the details of each return value. It also describes a list of error codes and the details of each error code.

Return values

Return value Description
0 Indicates a successful operation.
1000–1999 Indicates network communication errors.
2000–2999 Indicates AccessKey pair and initialization errors.
3000–3999 Indicates GameShield console errors.
4000–4999 Indicates data exchange errors between GameShield and origin servers.
9000–9999 Indicates SDK internal errors.

Common error codes

Error code Description Troubleshooting
-1 Indicates that the value of the group_name parameter or another parameter is null. You must specify a valid value for the parameter.
0 Indicates a successful operation. N/A
2000 Indicates an invalid AccessKey pair. You must specify a valid AccessKey pair.
2001 Indicates that the format of an AccessKey pair is invalid. You must check the integrity of an AccessKey pair.
2002 Indicates that the length of an AccessKey pair exceeds the limit. You must specify a valid AccessKey pair.
2005 Indicates that no initialization method is called. You must first call the initialization method.
3201 Indicates that the SDK feature is disabled. We recommend that you contact GameShield Technical Support.
3305 Indicates an invalid SDK request parameter. You must specify a valid request parameter. If the issue persists, we recommend that you contact GameShield Technical Support.
3306 Indicates an invalid SDK request type. You must check whether a suitable method is called. Methods for handling IP addresses and domain names are different.
3307 Indicates an invalid SDK request parameter. You must specify a valid request parameter. If the issue persists, we recommend that you contact GameShield Technical Support.
3500 Indicates that no IP address is available in a group. You must add IP addresses to a group in the console.
3600 Indicates that no IP address is available in a group. You must add IP addresses to the group or enable unlimited defense.
3700 Indicates an invalid group name. You must specify a valid group name. If the issue persists, we recommend that you contact GameShield Technical Support.
3702 Indicates an invalid protection target. You must configure a protection target for unlimited defenses.
3703 Indicates an invalid forwarding rule. You must configure a port for unlimited defense.
3800 Indicates an SDK internal error. If issues such as network hijacking occur, we recommend that you contact GameShield Technical Support.
3999 Indicates an invalid request parameter. You must specify a valid request parameter. If the issue persists, we recommend that you contact GameShield Technical Support.
4000 Indicates an SDK internal error such as network hijacking. If issues such as network hijacking occur, we recommend that you contact GameShield Technical Support.
9100 Indicates that a method receives simultaneous calls from multiple threads. You must start a new call after the previous call for a method is completed.
Note If the issue persists, we recommend that you contact GameShield Technical Support.