#

SUD

Client Error Code Description

Error Code Error Message Remarks
0 Success
-1 Unknown error Usually a network issue
-10100 Game engine unsupported
-10101 Download cancelled
-10102 Package download, extraction failed
-10103 SDK initialization failed
-10200 Package download error, MD5 checksum failed
-10300 Game loading timeout, 80-100%, deprecated since version 1.3.2
-10302 Download timeout
-10400 Insufficient disk space
-10401 File not found
-10402 Network request timeout
-10403 Network connection interrupted
-10404 SSL handshake exception, certificate verification failed or protocol mismatch
-10405 DNS resolution exception, network unreachable or other
-10406 Socket connection failed



iOS System Error Codes

Error Code Error Message Notes
-999 Request was cancelled. This could be due to a user manually cancelling the request or another reason like a new request overriding the old one.
-1000 Bad URL format, indicating that the provided URL is invalid or does not conform to proper format.
-1001 Request timed out. The server did not respond within the specified time.
-1002 Unsupported URL. Usually occurs when the URL scheme (e.g., ftp:// or file://) is not supported.
-1003 Cannot find the specified host. This could be due to a domain name error or DNS issue.
-1004 Cannot connect to the host. The server might be unavailable or there is a network connection issue.
-1005 Network connection was lost. The network connection was interrupted during the request.
-1006 DNS lookup failed. Unable to resolve the domain name to an IP address.
-1007 Too many HTTP redirects. The request was caught in a redirect loop and could not complete.
-1008 Resource unavailable. The requested resource might have been removed or is inaccessible.
-1009 Not connected to the internet. The device is in an offline state.
-1010 Redirect to a non-existent location. The redirect address provided by the server is invalid.
-1011 Bad server response. The server returned invalid or incomplete data.
-1012 User cancelled authentication. Typically occurs when a user cancels a login or authorization operation.
-1013 User authentication required. The server requires the user to provide authentication credentials.
-1014 Zero byte resource. The server returned an empty response body.
-1015 Cannot decode raw data. The client could not parse the data format returned by the server.
-1016 Cannot decode content data. The format of the data returned by the server could not be parsed.
-1017 Cannot parse response. The client could not understand the content of the server's response.
-1018 International roaming is off. The request failed because international roaming is disabled on the device.
-1019 Call is active. A call is in progress, preventing the network request.
-1020 Data not allowed. Data connection is restricted, possibly due to user settings or carrier limitations.
-1021 Request body stream exhausted. The input stream for the request has been depleted and cannot be read further.
-1022 App Transport Security (ATS) requires a secure connection. iOS's ATS policy mandates the use of HTTPS protocol.
-1100 File does not exist. The specified file path cannot be found.
-1101 File is a directory. The file being operated on is actually a directory.
-1102 No permissions to read file. Insufficient permissions to access the file.
-1103 Data length exceeds maximum. The amount of data requested or downloaded exceeds the allowed maximum.
-1104 File outside safe area. The accessed file is beyond the application's permitted safe area.
-1200 Secure connection failed. SSL/TLS handshake failed, typically due to an invalid or mismatched certificate.
-1201 Server certificate has bad date. The certificate is expired or not yet valid.
-1202 Server certificate is untrusted. The client could not verify the server's certificate.
-1203 Server certificate has unknown root. There is an untrusted root certificate in the certificate chain.
-1204 Server certificate is not yet valid. The certificate's validity period starts after the current time.
-1205 Client certificate rejected. The server rejected the client-provided certificate.
-1206 Client certificate required. The server requires the client to provide a certificate for authentication.
-2000 Cannot load from network. Usually occurs when the required resource is not found in the local cache and the network is unavailable.
-3000 Cannot create file. This typically happens due to an unavailable file path or permission issues.
-3001 Cannot open file. The file path is incorrect or there are insufficient permissions.
-3002 Cannot close file. The file handle may be invalid or the file is already closed.
-3003 Cannot write to file. The file is not writable or there is insufficient storage space.
-3004 Cannot remove file. The file is in use or there are insufficient permissions.
-3005 Cannot move file. The destination path is unavailable or there are insufficient permissions.
-3006 Download decoding failed mid-stream. There was an issue decoding data during the download.
-3007 Download decoding failed to complete. The download decoding process could not be completed.



Server-end error code description

SDK error codes (sdk_error_code)

Error code Error information Remarks
0 Success.
1001 Token creation failed.
1002 Token verification failed.
1003 Token parsing failed.
1004 Invalid token.
1005 Token expired.

Game server error codes

Error code Error information Remarks
0 Success.
10001 Service exception.
10002 Parameter error. Parameters are unreadable, the request is not a POST request, or the request body is not in JSON format.
10003 Invalid AppKey. The AppKey is incorrect.
10004 Invalid AppSecret. The AppSecret is incorrect.
10005 Invalid app platform information. The transferred bundleId or ApplicationId is incorrect.
10010 Token creation failed.
10011 Token verification failed.
10012 Token parsing failed.
10021 Invalid token.
10022 Token expired.
10101 The app does not exist. The app basic information is not generated. Contact Sud to generate the appId, appKey, and appSecret.
10102 App data does not exist. The app configuration information is incomplete. Contact Sud to check the information.
10103 App Proxy does not exist. The app configuration information is incomplete. Contact Sud to check the information.
10104 APP Unauthorized The app configuration information is incomplete. Contact Sud to check the information.
10105 App minigame does not exist. The app configuration information is incomplete. Contact Sud to check the information.
10111 The game does not exist. The game ID is incorrect, or the app is not associated with the current game.
10121 SDK configuration information does not exist. The app configuration information is incomplete. Contact Sud to check the information.
10122 Game configuration information does not exist. The app configuration information is incomplete. Contact Sud to check the information.
10030 Unity version is illegal
70100 Unauthorized Application No application authorization during cross-domain, please contact SUD for verification
70101 Invalid Authorization String The authorization string passed during cross-domain is incorrect, please contact SUD for verification
70401 Authentication Failed Request authentication failed, please follow the SUD documentation to initiate the request
70410 Game Service Exception
70420 Game Session Does Not Exist Check the request parameters, modify and resend the request
70501 Order Already Exists When creating an order, the merchant's custom order number already exists, please ensure that the order number is unique
70502 Invalid Order Number Check the incoming order number for correctness, modify and resend the request
70503 Order Does Not Exist Check the incoming order number for correctness, modify and resend the request
70504 Order Has No Associated User Settlement Information Check the incoming order number or wait for the corresponding user settlement, then resend the request
100000 General error.
100001 The short-term token code is missing for the HTTP request.
100002 The roomID parameter is missing for the HTTP request.
100003 The appID parameter is missing for the HTTP request.
100004 The openID parameter is missing for the HTTP request.
100005 Parameter error. The mgID parameter is missing
100008 Database query error.
100009 Database insertion error.
100010 Database modification error.
100011 The appServerInfoUrl parameter is missing for the HTTP request.
100012 The mode parameter is incorrect for the HTTP request.
100013 pushEvent parameter format error.
100100 Login error Room or player does not exist
100101 Login error Game not created
100200 Join error.
100201 Seats cannot be taken when the game is ongoing.
100202 The number of players in a room reaches the upper limit.
100203 Repeated joining.
100204 The seat is already occupied.
100300 Exit error.
100301 The player is not on the game seat.
100302 The player cannot leave the game when he/she is ready or the game is ongoing.
100400 Ready error.
100401 Cancel ready error.
100500 Start error.
100501 Started.
100502 Only the captain can start the game.
100503 Someone is not ready.
100504 The number of players for starting the game is insufficient.
100600 Kicking error.
100601 Only the captain can kick players.
100602 Kicking is unavailable in a room where the game is ongoing.
100603 You cannot kick yourself.
100700 Captain change error.
100800 Escape error.
100801 The game is over when the player escapes.
100802 The player is not in the game when he/she escapes.
100900 Disbanding error.
100901 The game is over during disbanding.
100902 Only the captain can disband the team.
101000 An error occurs when switching the game mode.
101001 The game mode cannot be switched when the game is ongoing.
101002 Only the captain can switch the game mode.
101003 AI cannot be the team leader.
101004 Room does not exist.
101005 Error in creating order cmd.
101006 Duplicate entry of points.
101007 Game room not set.
101008 Error: points entered is below minimum.
101009 Error: points entered is above maximum.
101010 Error: standing up.
101011 Error in setting game rules.
101012 Timeout error in creating order
101013 The game has been created and cannot be created again
105000 General error for the short-term token code. The client server returns a general SDK code error.
105001 Creation failed for the short-term token code. The client server returns SDK code creation failed.
105002 Verification failed for the short-term token code. The client server returns SDK code verification failed.
105003 Parsing failed for the short-term token code. The client server returns SDK code parsing failed.
105004 Invalid short-term token code. The client server returns invalid SDK code.
105005 Short-term token code expired. The client server returns SDK code expired.
105006 Failed to request app_server.
105007 Failed to parse app_server data.
105008 Failed to request get_sstoken. The game server fails to request the get_sstoken API from the client server. Please ask the app server to check this interface.
105009 Failed to parse get_sstoken data. The game server fails to request the get_sstoken API from the client server. Please ask the app server to check this interface.
105010 Failed to request get_user_info. The game server fails to request the get_user_info API from the client server. Please ask the app server to check this interface.
105011 Failed to parse get_user_info data. The game server fails to request the get_user_info API from the client server. Please ask the app server to check this interface.
105012 Failed to request update_sstoken. The game server fails to request the update_sstoken API from the client server. Please ask the app server to check this interface.
105013 Failed to parse update_sstoken data. The game server fails to request the update_sstoken API from the client server. Please ask the app server to check this interface.
105014 app_server data mode error. The game agency server needs to check the data.
105015 get_sstoken client error. The returned HTTP state code is not 200. When the game server requests the get_sstoken API from the client server, the returned HTTP state code is not 200. Please ask the app server to check this interface.
105016 get_user_info client error. The returned HTTP state code is not 200. When the game server requests the get_user_info API from the client server, the returned HTTP state code is not 200. Please ask the app server to check this interface.
105017 update_sstoken client error. The returned HTTP state code is not 200. When the game server requests the update_sstoken API from the client server, the returned HTTP state code is not 200. Please ask the app server to check this interface.
105100 Serialized json error. The game agency server needs to check the data.
105101 app_server agency error. The returned HTTP state code is not 200. The game agency server needs to check the data.
105102 app_server agency error. The game agency server needs to check the data.
105103 get_sstoken agency error. The returned HTTP state code is not 200. The game agency server needs to check the data.
105104 get_sstoken agency error. The game agency server needs to check the data.
105105 get_user_info sdk agency error. The returned HTTP state code is not 200. The game agency server needs to check the data.
105106 get_user_info agency error. The game agency server needs to check the data.
105107 update_sstoken sdk agency error. The returned HTTP state code is not 200. The game agency server needs to check the data.
105108 update_sstoken agency error. The game agency server needs to check the data.

results matching ""

    No results matching ""