Did you know?
New Firebase Storage default buckets are named PROJECT_ID.firebasestorage.app, not .appspot.com.
Copy the bucket name from the Firebase console: new projects use .firebasestorage.app.
- DevOps & cloud
- Last checked
Explained
Many tutorials and scripts use gs://PROJECT_ID.appspot.com for the default Cloud Storage for Firebase bucket. That is only correct for older projects. Default buckets created since late 2024 are named PROJECT_ID.firebasestorage.app and are no longer tied to App Engine.
Using the wrong name makes gcloud, gsutil and Admin SDK calls fail with “bucket does not exist” or permission errors. Copy the real name from the Firebase console (Storage → Files, shown as gs://…) or from the storageBucket value in your app’s Firebase config, for example:
gcloud storage buckets update gs://my-app.firebasestorage.app --cors-file=cors.json
Learn more
- How to Set Up CORS for Firebase Storage (gcloud and Cloud Shell) Full guide · Updated Dec 2026
