Superbalist / flysystem-google-cloud-storage

Flysystem Adapter for Google Cloud Storage
MIT License
265 stars 105 forks source link

Authetification Issue #118

Open stempora opened 4 years ago

stempora commented 4 years ago

Hello,

When i try to connect to GC using uniform i get this error.

{ "error": { "code": 400, "message": "Cannot insert legacy ACL for an object when uniform bucket-level access is enabled. Read more at https://cloud.google.com/storage/docs/uniform-bucket-level-access.", "errors": [ { "message": "Cannot insert legacy ACL for an object when uniform bucket-level access is enabled. Read more at https://cloud.google.com/storage/docs/uniform-bucket-level-access.", "domain": "global", "reason": "invalid" } ] } }

Is there any fix for this ?

Thanks

Deuchnord commented 2 years ago

Hello

I am having the same issue, have you found any fix for this?

stempora commented 2 years ago

For flysystem v2+ you cant use this plugin anymore, but the one they have on league.

https://stackoverflow.com/questions/72218066/flysystem-google-cloud-storage-adapter-uniform-bucket

For v1 with this adapter i used the solution from the following link

https://stackoverflow.com/questions/61779218/trying-to-upload-to-google-cloud-storage-using-superbalist-flysystem-google-clou