GoogleCloudPlatform/node-red-contrib-google-cloud

Google Cloud Storage writing to Versioned Buckets

paulleroyza opened this issue · 2 comments

I'm unable to write to versioned buckets, getting the error:
writeStream error: my-sa@my-project.iam.gserviceaccount.com does not have storage.objects.delete access to the Google Cloud Storage object.

Solution appears to be explicitly disabling the resumable flag as discussed here on the GCP node sample code:
googleapis/google-cloud-node#2611

Howdy ... I have updated the project to make "resumable" an explicit value of false ... see:

https://github.com/GoogleCloudPlatform/node-red-contrib-google-cloud/blob/master/gcs-write.js#L104

This should be present in 0.0.25 onwards. Have a go with this and let me know if that resolves the issue.

Thank you, I'll rebuild my container and test