Error codes

更新时间:
复制 MD 格式

This topic describes the error codes that the Captcha HarmonyOS client SDK returns during integration.

Error code

Error description

Error Details

-30170

Invalid parameter

The successful callback for Response is null.

-30171

Invalid parameter

The Context object is null.

-30172

Invalid parameter

The Context instance must be of the Activity type.

-30174

Invalid parameter

appId is not configured.

-33099

Unsupported WebView component

An error occurred for the new WebView object on the current device.

-33175

Invalid parameter

The static H5 address is incorrectly configured.

-33201

Network error

ERR_IO_PENDING: The asynchronous IO operation is not complete.

-33202

Network error

ERR_FAILED: A general error occurred.

-33206

Network error

ERR_FILE_NOT_FOUND: The file is not found.

-33207

Network error

ERR_CONNECTION_TIMED_OUT: The connection timed out.

-33208

Network error

ERR_FILE_TOO_LARGE: The file is too large.

-33215

Network error

ERR_SOCKET_NOT_CONNECTED: The persistent connection is disconnected.

-332109

Network error

ERR_ADDRESS_UNREACHABLE: The IP address is unreachable.

-332130

Network error

A connection to the proxy server cannot be created.

-332148

Network error

ERR_SSL_HANDSHAKE_NOT_COMPLETED: The SSL handshake failed.

-332300

Network error

ERR_INVALID_URL: The URL is invalid.

-332301

Network error

ERR_DISALLOWED_URL_SCHEME: The URL scheme is not allowed.

-332310

Network error

ERR_TOO_MANY_REDIRECTS: Too many redirections.

-332337

Network error

HTTP/2 protocol error.

-332339

Network error

ERROR_UNSUPPORTED_AUTH_SCHEME: The identity verification scheme is not supported.

-33404

HTTP error

The requested web page does not exist.

-33300

Certificate error

SSL_INVALID: A general error occurred.

-33301

Certificate error

SSL_HOSTMISMATCH: The certificate does not match the HOST.

-33302

Certificate error

SSL_DATE_INVALID: The certificate date is invalid.

-33303

Certificate error

SSL_UNTRUSTED: The certification authority is not trusted.

-33580

Failed to load

The H5 callback data is empty.

-33581

Failed to load

An error occurred when parsing the H5 callback data.

-33582

Failed to load

A key value is missing from the H5 callback data.

-34460

The validation session is canceled.

The user actively canceled the validation flow.