文档首页> API网关 APIG> 常见问题> 其他> 如何获取API网关错误返回信息?
更新时间:2022-08-04 GMT+08:00

如何获取API网关错误返回信息?

当API请求到达网关后,网关返回请求结果信息。查看返回结果的Body信息如下。

{
	"error_code": "APIG.0101",
	"error_msg": "API not exist or not published to environment",
	"request_id": "acbc548ac6f2a0dbdb9e3518a7c0ff84"
}
  • “error_code”表示错误码。
  • “error_msg”表示报错原因。

其他 所有常见问题

more