文档

API常见问题

更新时间:

常见API错误码及其处理办法

HttpCode

错误码

错误信息

描述

处理办法

400

InvalidParameter

The specified parameter \”%s\” is not valid.

请求API的参数不合法

参考“OpenAPI Explorer”中的字段说明传入正确的值

400

400

Specified parameter Version is not valid.

请求参数“Version”不合法

一般是API调用时参数传错了,比如SDK的client初始化时region配置,在开发指南里找到要调用的API,跳转到“OpenAPI Explorer”结合示例做排查

403

Forbidden

The current chatbot specification does not allow calling this API.

当前使用的智能对话机器人版本过低,无权调用管控层API,请升级到企业版或旗舰版

参考产品简介-功能清单

403

InstanceFreezing

The specified instance has been frozen because it has overdue bills.

当前智能对话机器人版本已产生欠费,导致实例冻结

结清欠费账单后,过一段时间会自动恢复(一般是1小时内)

403

Forbidden

User not authorized to operate on the specified resource.

无当前资源操作权限

检查一下资源是否归属该云账号,如果确定是这个云账号的资源检查一下是否设置了AgentKey参数

500

InternalError

The request processing has failed due to some unknown error, exception or failure.

系统内部错误

产品会尽最大可能避免此情况

  • 本页导读 (0)
文档反馈