AccessDeniedException:403要计费的项目与一个已关闭的计费帐户相关联 [英] AccessDeniedException: 403 The project to be billed is associated with a closed billing account

查看:146
本文介绍了AccessDeniedException:403要计费的项目与一个已关闭的计费帐户相关联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经打开了一个新的Google Cloud帐户,我将在该帐户上设置一个VM.在此之前,我想创建一个存储桶,然后将其从一个存储桶复制到另一个存储桶.

I have opened a new google cloud account and I am about to set up a VM on that. Before that I wanted to create a bucket and I will be copying from one bucket to another bucket.

我能够创建存储分区,并且在复制时遇到如下问题:

I am able to create a bucket and while copying I am facing issue as below:

AccessDeniedException:403要计费的项目与一个已关闭的计费帐户相关联.

AccessDeniedException: 403 The project to be billed is associated with a closed billing account.

所以我尝试了以下选项:

So I have tried the following options:

要重新打开已关闭的帐户,请执行以下操作:

To reopen a closed account:

转到Google Cloud Platform控制台. 打开控制台左侧菜单,然后选择结算. 选择管理帐单帐户. 从页面中间附近的列表中,选择显示所有帐户". 点击结算帐户名称. 点击重新打开结算帐户.

Go to the Google Cloud Platform Console. Open the console left side menu and select Billing. Choose Manage billing accounts. From the list near the middle of the page, select Show all accounts. Click the billing account name. Click Reopen billing account.

点击结算帐户名称后,我找不到重新打开结算帐户选项".我被困在这一点上.任何帮助将非常感激.谢谢!

After clicking on billing account name, I could not find a "Reopen billing account option". I am stuck at this point. Any help would be really appreciated. Thanks !

推荐答案

我正在将Shrine GCP用于我的Rails项目,并且发生此错误是因为我没有在初始化程序shrine.rb中指向正确的存储桶.

I was using the Shrine GCP for my Rails project and this error occurred because I had not pointed to the correct bucket in the initializer shrine.rb.

对于任何不使用我的堆栈的人来说,问题是我声明的存储桶在我的GCP项目中不存在.因此,请确保1)您指向正确的存储桶或2)在项目Cloud Storage中创建存储桶.

For anyone who is not using my stack, then the issue was that the bucket I had declared did not exist in my GCP project. So be sure that either 1) You are pointing to the right bucket or 2) create the bucket in the project Cloud Storage.

我不知道为什么Google会给出此错误消息大声笑

I have no idea why Google gives this error message lol

这篇关于AccessDeniedException:403要计费的项目与一个已关闭的计费帐户相关联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆