问题排查
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
下表介绍了可能遇到的错误和相应的错误原因。Apigee Integration 使用 google.rpc.Code
中定义的规范错误代码。
如需了解 Apigee Integration 错误和不同的错误处理策略,请参阅错误和错误处理。
标准异常类型 |
规范代码 |
HTTP 代码 |
说明 |
FailedPreconditionException |
FAILED_PRECONDITION |
400 |
请求无法在当前系统状态下执行。
|
BadRequestException |
INVALID_ARGUMENT |
400 |
客户端指定了无效参数。如需了解详情,请查看错误消息和错误详细信息。
|
UnauthenticatedException |
UNAUTHENTICATED |
401 |
由于 OAuth 令牌丢失、无效或过期,请求未通过身份验证。
|
ForbiddenException |
PERMISSION_DENIED |
403 |
客户端权限不足。如果 OAuth 令牌没有正确的范围、客户端没有所需的权限或 API 尚未启用,则可能会发生这种情况。
|
NotFoundException |
NOT_FOUND |
404 |
未找到指定的资源。
|
AlreadyExistsException |
ALREADY_EXISTS |
409 |
客户端尝试创建的资源已存在。
|
InternalError |
INTERNAL |
500
|
内部服务器错误。通常是服务器错误。 如果任何任务或触发器配置不正确,则可能会发生这种情况。 |
UnimplementedException |
UNIMPLEMENTED |
501 |
API 方法未通过服务器实现。
|
ServiceUnavailableException |
UNAVAILABLE |
503 |
服务不可用。通常是服务器已关闭。
|
AbortedException |
ABORTED |
409 |
响应大小过大。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-04-08。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]