Google Cloud Storage存储桶抛出错误“要计费的项目与关闭的计费帐户相关联". [英] Google Cloud Storage bucket throws error "The project to be billed is associated with a closed billing account."

查看:174
本文介绍了Google Cloud Storage存储桶抛出错误“要计费的项目与关闭的计费帐户相关联".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经检查了我的项目,并且该项目处于活动状态 计费帐户

I already checked my project and it has an active billing account

我正在使用节点js

var gcloud    = require('gcloud');
var gcs = gcloud.storage({
  projectId: config.gcloud.projectid,
  keyFilename: config.gcloud.keyfilename
});
var bucket = gcs.bucket(bucketName);   
bucket.upload(filePath, fileOptions, function(err, file) {
        if (err) {        
          console.log(err);
        } else {
          console.log("success")
        }
      });

这是以前的工作.我不确定为什么会返回错误.有人有主意吗?

This was working before. I'm not sure why it is returning an error. Anyone have an idea?

推荐答案

根据我的研究,请在下面找到您提供的错误消息的可能情况:

Based on my research please find below the possible scenarios of the error message you provided:

  1. 如果您使用的是 Cloud Platform免费套餐,则您的云存储始终免费"使用限制.在这种情况下,您可以考虑将帐户升级为付费帐户,以解决该问题.

  1. If you are using Cloud Platform Free Tier you may have run out of Cloud Storage Always Free usage limits. In that case, you may consider upgrading your account to a paid one to potentially resolve the issue.

由于您要使用的Cloud Storage存储桶不存在,也可能发生此错误.您可以通过单击标题为打开云存储浏览器" 的蓝色按钮进行验证. .

This error may also occur because of the Cloud Storage bucket you are trying to use does not exist. You may verify this by clicking the blue button titled "Open the Cloud Storage Browser".

如果您有付费帐户,并且确实存在Cloud Storage存储桶,请使用提供的

If you have a paid account and the Cloud Storage bucket does exist, please open a Billing Support Request using the Billing Support Requests form provided here.

这篇关于Google Cloud Storage存储桶抛出错误“要计费的项目与关闭的计费帐户相关联".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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