AI diagnostics

更新时间:
复制 MD 格式

If you encounter HTTP errors such as 404 or 503 when using Cloud-native API Gateway, you can use the AI diagnostics feature to identify the cause and find a solution.

Procedure

  1. Log on to the API Gateway console.

  2. In the left-side navigation pane, click Cloud-native API Gateway > Instance. In the top navigation bar, select a region.

  3. On the Instance page, click the target instance ID.

  4. In the left-side navigation pane, click AI Diagnostics.

  5. On the AI Diagnostics page, specify the filter parameters, select a time range, and then click Submit.

    Note

    A maximum of 20 results are displayed.

    Parameter

    Description

    Instances

    The Cloud-native API Gateway instance.

    Error Code

    The HTTP status code returned in the response. The code must comply with the HTTP status code specifications. You can enter a custom code or select a common one.

    Domain Name

    The domain name associated with the error. Only domain names bound to the instance are available.

    Request Path

    The request path in which the error occurred. You can find this value in the Path parameter of your API request.

    Route Name

    The name of the route involved in the error.

    Request ID

    The ID of the request in which the error occurred.

    Custom Time

    The time range in which the error occurred. You can also select a preset time range on the left.

    Note

    The specified time range cannot exceed the last three days.

  6. View the error cause and solution.