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
Log on to the API Gateway console.
In the left-side navigation pane, click . In the top navigation bar, select a region.
On the Instance page, click the target instance ID.
-
In the left-side navigation pane, click AI Diagnostics.
-
On the AI Diagnostics page, specify the filter parameters, select a time range, and then click Submit.
NoteA 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.
NoteThe specified time range cannot exceed the last three days.
-
View the error cause and solution.