Firebase · billing · fg-0190
Firebase Storage returns 402 or storage/unauthorized for every request on a Spark plan project
402: Cloud Storage for Firebase no longer supports Firebase projects that are on the no-cost Spark pricing plan.
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
Cause
Cloud Storage for Firebase now requires the Blaze plan, both for new default buckets and, since February 3, 2026, for access to existing appspot.com buckets. Data is kept but locked until the project upgrades.
Fix
Upgrade the project to Blaze, where the no-cost usage tier still applies. New default buckets are named PROJECT_ID.firebasestorage.app, so update storageBucket in config for new projects.
Apply
initializeApp({
// new projects
storageBucket: 'PROJECT_ID.firebasestorage.app',
// older projects keep 'PROJECT_ID.appspot.com'
});
// Console: Project settings > Usage and billing > Modify plan > BlazeAffects: Firebase projects on the Spark plan; new default buckets since September 2024; existing appspot.com buckets since 2026-02-03
Sources
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp