sagar verma
sagar verma

Reputation: 432

CarrierWave: Cannot insert legacy ACL for an object when uniform bucket-level access is enabled

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'

Upvotes: 1

Views: 824

Answers (1)

sagar verma
sagar verma

Reputation: 432

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

Upvotes: 0

Related Questions