首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Firebase cloud run tutorial权限被拒绝

Firebase cloud run tutorial权限被拒绝
EN

Stack Overflow用户
提问于 2020-12-07 12:10:41
回答 1查看 55关注 0票数 0

我正在尝试让firebase和cloud run的教程按照here的说明工作。

在firebase部署步骤中,我一直收到权限被拒绝的错误,下面是错误堆栈:

代码语言:javascript
复制
firebase deploy --debug

i  deploying hosting 
[2020-12-07T03:52:01.058Z] >>> HTTP REQUEST POST https://firebasehosting.googleapis.com/v1beta1/sites/nubonetics/versions  
 {"config":{"rewrites":[{"glob":"**","run":{"region":"us-central1","serviceId":"helloworld"}}]},"labels":{"deployment-tool":"cli-firebase"}}
[2020-12-07T03:52:01.524Z] <<< HTTP RESPONSE 403 {"vary":"X-Origin, Referer, Origin,Accept-Encoding","content-type":"application/json; charset=UTF-8","date":"Mon, 07 Dec 2020 03:52:01 GMT","server":"ESF","cache-control":"private","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","x-content-type-options":"nosniff","alt-svc":"h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"","accept-ranges":"none","transfer-encoding":"chunked"}
[2020-12-07T03:52:01.525Z] <<< HTTP RESPONSE BODY {"error":{"code":403,"message":"The caller does not have permission","status":"PERMISSION_DENIED"}}
EN

回答 1

Stack Overflow用户

发布于 2020-12-07 12:24:40

您可能需要在CloudRun上设置权限。请查看以下文章的“开始之前”部分:

https://cloud.google.com/cloud-build/docs/deploying-builds/deploy-cloud-run

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65176047

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档