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
Log on to the Cloud-native API Gateway console.
In the left-side navigation pane, click Instance. In the top navigation bar, select a region.
On the Instance page, click the name of the gateway instance that you want to manage.
In the left-side navigation tree, click AI Diagnostics.
On the AI Diagnostics tab, specify the parameters to filter the request in which the issue occurred. Then, click Submit.
NoteA 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.
NoteThe time range that you specify cannot be earlier than three days before the current time.
View the error cause and solution.