Superbalist / laravel-google-cloud-storage

A Google Cloud Storage filesystem for Laravel
MIT License
508 stars 145 forks source link

Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object. #111

Closed rami1973 closed 3 years ago

rami1973 commented 3 years ago

I'm getting this error:

Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object.

rami1973 commented 3 years ago

it was my mistake my bucket is private and I should use temp url: $file = $disk->temporaryUrl($filepathe, now()->addMinutes(1));