Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 谷歌云用户项目访问被拒绝错误_Node.js_Google Cloud Storage - Fatal编程技术网

Node.js 谷歌云用户项目访问被拒绝错误

Node.js 谷歌云用户项目访问被拒绝错误,node.js,google-cloud-storage,Node.js,Google Cloud Storage,我想从我的网站(用nodejs制作)上传一个文件到我的谷歌云存储 但我得到了这个错误: 起始帐户-67n988tuygj7@sonproje-1533259273248.iam.gserviceaccount.com没有对yiginlabilgi/sefer.jpg的storage.objects.create访问权限。您必须为bucket设置权限。添加服务帐户起始帐户-67n988tuygj7@sonproje-1533259273248.iam.gserviceaccount.com作为bu

我想从我的网站(用nodejs制作)上传一个文件到我的谷歌云存储

但我得到了这个错误:


起始帐户-67n988tuygj7@sonproje-1533259273248.iam.gserviceaccount.com没有对yiginlabilgi/sefer.jpg的storage.objects.create访问权限。

您必须为bucket设置权限。添加服务帐户
起始帐户-67n988tuygj7@sonproje-1533259273248.iam.gserviceaccount.com
作为bucket
yiginlabilgi
的成员,使用
存储对象创建者
角色

为了实现这一点,请遵循以下步骤