Identify and troubleshoot online issues

更新时间:
复制 MD 格式

By default, slider verification does not collect business key information, such as usernames or phone numbers, from your business scenario. To simplify online troubleshooting, you can configure the upload of a business primary key. This lets you quickly find the slider verification request associated with a user's issue using the business key and the time. If you do not configure the upload of a business key, you may need to guide the user to capture packets to locate the specific logs and requests.

You can configure the upload of a business primary key in one of the following ways:

  • At any time before the user interacts with the slider, you can call the `setTrans` method provided by slider verification to upload the business key.

    For example, after a user enters a username and the focus leaves the username input box, you can call the nc.setTrans('{'userName':username_input_box_value}') method to upload the username. You can also call the nc.setTrans('{'business_session_id':business_session_value}') method to upload the unique session identity for your business after the page loads.

Identify the cause of an issue based on the returned error code

If slider verification is abnormal, the user receives an error message that includes an error code.

If this type of error code is returned, you can use the browser's frontend debugging tools to check for any JavaScript (JS) files that failed to load. For the domain names of the JS files that failed to load, you can use the `ping` command or a similar tool to check whether the local client can connect. If the connection fails, ask the user to check their local network environment.

Refer to the following error code descriptions to quickly identify the cause of an abnormality.

Error code

Description

00

analyze request timeout

01

uab.js load timeout

02

um.js load timeout

04

Error loading device fingerprint code

08

waitForUmx exceeded the retry limit

If a user receives an error code in the error:xxxxx format, such as error:0Hidd, contact Alibaba Cloud After-Sales Support for troubleshooting assistance. For more information, see Contact us.