我正在获取一个远程文件url上传到一个firebase函数内的存储桶中。 然而,这个问题只发生在pdf类型的文件中。connection error' message that withouth further details is elusive to solve
let result = await bucketFile.getSignedUrl
我正在向其他GCP存储桶中写入文件,他们已经为我创建了一个服务帐户,我在代码中使用服务帐户密钥(一个.json文件)作为凭据。当我运行云模拟器时,它也可以工作。但是,当我部署函数并尝试执行它时,我在日志中得到如下错误:
ApiError: my-project@appspot.gserviceaccount.com does not have storage.objects.create