1

Uploading file to google cloud bucket was working fine when we had "Fine-grained" access. Later it is changed to "uniform bucket-level access". Now upload operations are failing with the below error.

invalid: 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 (Google::Apis::ClientError)

Any solutions/suggestions to tackle this issue.

Using 'carrierwave': '1.3.2'

sagar verma
  • 404
  • 4
  • 10
  • Same upload is working fine with the "google/cloud/storage" api libraries with uniform access level. But I want to use carrierwave for my usecase. – sagar verma Sep 30 '22 at 12:14

1 Answers1

0

If we set fog_public returns as nil, CarrierWave upload would work with uniform bucket-level access.

sagar verma
  • 404
  • 4
  • 10