错误代码门户
GoogleGoogle APIs / gRPC错误代码

PERMISSION_DENIED

PERMISSION DENIED

其他表示形式:7 · google.rpc.Code.PERMISSION_DENIED

代码 PERMISSION_DENIED · Google APIs / gRPC 报告的问题。

调用者没有执行指定操作的权限。 “PERMISSION_DENIED”不得用于因耗尽某些资源而导致的拒绝(使用“RESOURCE_EXHAUSTED”来代替这些错误)。如果无法识别调用者,则不得使用“PERMISSION_DENIED”(对于这些错误,请使用“UNAUTHENTICATED”)。此错误代码并不意味着请求有效或请求的实体存在或满足其他先决条件。 HTTP 映射:403 禁止

Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。

The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden

故障排除与诊断链接

请先确认文档中的产品、版本及发生环境与当前情况一致。