部署 Firebase 存储安全规则

问题描述 投票:0回答:1

我有一个关于 firebase 的项目。最近我添加了 firebase 存储。但是当我尝试发布规则时它会抛出错误:

=== Deploying to 'chatapp-86y5'...

i  deploying storage


There was an issue deploying your functions. Verify that your project has a Google App Engine instance setup at https://console.cloud.google.com/appengine and try again. If this issue persists, please contact support.

Error: HTTP Error: 403, Read access to project 'chatapp-86y5' was denied: please check billing account associated and retry

Having trouble? Try firebase [command] --help

我用来部署的命令:

firebase deploy --only storage 

我能够部署我的 Firestore 安全规则,还可以通过控制台部署存储规则。

此外,当我访问链接https://console.cloud.google.com/appengine时,它会提示为此项目设置一个计费帐户

firebase firebase-storage firebase-tools
1个回答
0
投票

更新 firebase-tools 包。 Firebase API 已更改,现在仅允许免费使用一个存储桶,并且 CF 仅在 blaze 计划中。

© www.soinside.com 2019 - 2024. All rights reserved.