☁️ Google Cloud / Firebase errors

Google Cloud (Cloud Run, GKE, IAM, gcloud) and Firebase (Firestore, Hosting, Functions) errors with fixes.

CodeErrorWhat it means
Container failed to start Cloud Run: The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable Cloud Run started your container, but nothing listened on $PORT within the startup timeout — the app crashed,…
Missing or insufficient permissions Firestore: FirebaseError: [code=permission-denied]: Missing or insufficient permissions Firestore Security Rules denied the read/write — the user isn’t signed in, the rule conditions don’t match, o…
Could not load the default credentials Google Cloud: Error: Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started The Google client library found no Application Default Credentials (ADC) on this machine or environment.