All Products
Search
Document Center

API Gateway:Cloud Native API Gateway AI diagnosis

Last Updated:Mar 21, 2025

If you encounter HTTP status codes, such as 404 or 503, when you use Cloud-native API Gateway, you can use the AI diagnostics feature to troubleshoot the issue. This topic describes how to use the feature to troubleshoot issues.

Procedure

  1. Log on to the Cloud-native API Gateway console.

  2. In the left-side navigation pane, click Instance. In the top navigation bar, select a region.

  3. On the Instance page, click the name of the gateway instance that you want to manage.

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

  5. On the AI Diagnostics tab, specify the parameters to filter the request in which the issue occurred. Then, click Submit.

    Note

    A maximum of 20 results are displayed.

    Parameter

    Description

    Instance

    The Cloud-native API Gateway instance.

    Error Code

    The HTTP status code in the response. The code must comply with the HTTP status code specifications. You can also directly select a common status code.

    Domain Name

    The domain name involved in the error. You can select only an associated domain name.

    Request Path

    The request path. You can obtain the path from the Path parameter in your 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 time range on the left.

    Note

    The time range that you specify cannot be earlier than three days before the current time.

  6. View the error cause and solution.