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

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

问题描述

我已经检查了我的项目并且它有一个活动结算帐号

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

我正在使用节点 js

I am using node 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. 如果您使用的是云平台免费套餐,您可能已经用完了 云存储始终免费使用限制.在这种情况下,您可以考虑将您的帐户升级为付费帐户以解决该问题.

  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天全站免登陆