| 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… |
| 409: The resource already exists |
Compute Engine: ERROR: (gcloud.compute.instances.create) Could not fetch resource: The resource 'projects/p/zones/z/instances/vm-1' already exists |
You tried to create a resource whose name is already taken in that scope. |
| Secret Manager: Permission secretmanager.versions.access denied |
Secret Manager: 7 PERMISSION_DENIED: Permission 'secretmanager.versions.access' denied for resource 'projects/123/secrets/db-pass/versions/latest' |
The calling identity lacks the Secret Accessor role on that secret, or the secret/version does not exist. |
| 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,… |
| 403: does not have storage.objects.get access |
Cloud Storage: 403 Forbidden — user@example.com does not have storage.objects.get access to the Google Cloud Storage object |
The identity making the request has no read permission on that bucket or object. |
| BigQuery: Unrecognized name |
BigQuery: Syntax error / Unrecognized name: customer_id at [3:8] (Did you mean customerId?) |
The query references a column or alias that doesn't exist in that scope. |
| CORS: No Access-Control-Allow-Origin (Cloud Storage) |
Browser: Access to fetch at 'https://storage.googleapis.com/bucket/file' from origin 'https://app.example.com' has been blocked by CORS policy |
A browser upload/download to Cloud Storage was blocked because the bucket's CORS configuration doesn't allow… |
| BigQuery: Access Denied: Project: User does not have bigquery.jobs.create permission |
BigQuery: Access Denied: Project my-project: User does not have bigquery.jobs.create permission in project my-project |
The principal can read data but is not allowed to run query jobs in the project used for billing. |
| Artifact Registry: Permission artifactregistry.repositories.uploadArtifacts denied |
Docker push: denied: Permission "artifactregistry.repositories.uploadArtifacts" denied on resource "projects/p/locations/l/repositories/r" |
Your identity cannot push or pull images in that Artifact Registry repository, or Docker isn't authenticated… |
| Firebase CLI: Authentication Error: Your credentials are no longer valid |
Firebase CLI: Error: Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth |
The Firebase CLI's saved login expired or was revoked. |
| BigQuery: Not found: Dataset was not found in location |
BigQuery: Not found: Dataset my-project:analytics was not found in location EU |
BigQuery looked for the dataset in the wrong location (region) or the dataset doesn't exist. |
| Cloud Build: step exited with non-zero status |
Cloud Build: ERROR: build step 2 "gcr.io/cloud-builders/npm" failed: step exited with non-zero status: 1 |
One step of the Cloud Build pipeline returned a non-zero exit code, so the whole build failed. |
| Cloud SQL: failed to connect to instance |
Cloud SQL: failed to connect to `host=PROJECT:REGION:INSTANCE user=app database=db`: dial error (timeout) / Cloud SQL Auth Proxy: failed to connect to instance |
Your app or the Cloud SQL Auth Proxy couldn't open a connection to the instance — IAM, networking or configur… |
| Cloud SQL: too many connections |
Cloud SQL: FATAL: remaining connection slots are reserved / MySQL: ERROR 1040 (08004): Too many connections |
The instance's maximum connections was reached, often because serverless instances each open their own connec… |
| 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. |
| BigQuery: Quota exceeded: Your project exceeded quota for free query bytes scanned |
BigQuery: Quota exceeded: Your project exceeded quota for free query bytes scanned. Consider enabling billing |
A free-tier/sandbox project used its monthly or daily query processing allowance. |
| Cloud Functions: Build failed |
Cloud Functions: Build failed: function.js does not exist / npm install failed with exit code 1 (Cloud Build step) |
The deployment's build step (Cloud Build) failed, so no new function version was created. |
| Cloud Run 403: Your client does not have permission to get URL |
Cloud Run: Error: Forbidden — Your client does not have permission to get URL / from this server |
The Cloud Run service requires authentication and the caller has no valid identity token or the `roles/run.in… |
| Container memory limit exceeded |
Cloud Run: Memory limit of 512 MiB exceeded with 530 MiB used. Consider increasing the memory limit |
The container used more memory than the Cloud Run service allows, so the instance was terminated. |
| Your active project does not match the quota project in your local ADC |
gcloud/ADC: WARNING: Your active project does not match the quota project in your local Application Default Credentials file |
Application Default Credentials bill API usage to a different project than the one you have set as active, wh… |
| GKE Ingress: backends marked UNHEALTHY (502) |
GKE Ingress: Some backend services are in UNHEALTHY state / 502 Server Error from the load balancer |
The Google load balancer's health checks fail for the Ingress backends, so it returns 502 or 'no healthy upst… |
| GKE: 0/3 nodes are available: Insufficient cpu |
GKE/Kubernetes: Pod unschedulable — 0/3 nodes are available: 3 Insufficient cpu |
The scheduler found no node with enough free CPU/memory for the pod's resource requests. |
| 502 Bad Gateway: failed_to_connect_to_backend |
Google Cloud Load Balancing: 502 Bad Gateway — jsonPayload.statusDetails: failed_to_connect_to_backend / backend_connection_closed_before_data_sent_to_client |
The load balancer couldn't get a valid response from your backend and returned 502. |
| Cloud Run 503: The request failed because the instance had an error |
Cloud Run: 503 Service Unavailable — The request was aborted because there was no available instance |
Cloud Run could not serve the request: no instance was ready, instances crashed, or the service hit its max-i… |
| Cloud Run 504: The request has been terminated because it has reached the maximum request timeout |
Cloud Run: 504 Gateway Timeout — The request has been terminated because it has reached the maximum request timeout |
The request ran longer than the service's request timeout (default 5 minutes, max 60), so Cloud Run closed it. |
| Firebase: Your project must be on the Blaze (pay-as-you-go) plan |
Firebase CLI: Error: Your project my-app must be on the Blaze (pay-as-you-go) plan to complete this command. Required API cloudbuild.googleapis.com can't be enabled until the upgrade is complete |
Deploying Cloud Functions needs the Blaze plan because it relies on Cloud Build and Artifact Registry. |
| messaging/registration-token-not-registered |
Firebase Cloud Messaging: messaging/registration-token-not-registered — The provided registration token is not registered |
The device token you sent a push notification to is no longer valid (app uninstalled, token rotated, or token… |
| PERMISSION_DENIED: Permission 'x' denied on resource |
Google Cloud: 403 PERMISSION_DENIED — Permission 'storage.objects.get' denied on resource (or it may not exist) |
The caller's identity lacks the IAM permission named in the message on that resource. |
| API has not been used in project before or it is disabled |
Google Cloud: 403 SERVICE_DISABLED — Cloud Resource Manager API has not been used in project 123456 before or it is disabled. Enable it by visiting |
The Google API you called is not enabled for the project that the request is billed to. |
| This API method requires billing to be enabled |
Google Cloud: 403 This API method requires billing to be enabled. Please enable billing on project and retry |
The project has no active billing account, and the API/service needs one. |
| gke-gcloud-auth-plugin not found |
kubectl: error: executable gke-gcloud-auth-plugin not found — it looks like you are trying to use a client-go credential plugin that is not installed |
kubectl needs the `gke-gcloud-auth-plugin` binary to authenticate to GKE, and it is missing from PATH. |
| Resources exceeded during query execution |
BigQuery: Resources exceeded during query execution: Not enough resources for query planning - too many subqueries or query is too complex |
A query is too heavy for BigQuery to execute (usually sorts, large joins, window functions or DISTINCT over h… |
| Cloud Run: Image not found / failed to pull |
Cloud Run: Revision 'svc-00005' is not ready — Image 'gcr.io/proj/app:latest' not found / Permission 'artifactregistry.repositories.downloadArtifacts' denied |
Cloud Run cannot pull the container image — it doesn't exist, the tag is wrong, or the service identity lacks… |
| NoSuchBucket / 404 The specified bucket does not exist |
Cloud Storage: 404 Not Found — The specified bucket does not exist / No such object: bucket/object |
The bucket or object name in your request doesn't exist (typo, deleted, wrong project, or a leading slash iss… |
| SignatureDoesNotMatch (Cloud Storage signed URL) |
Cloud Storage: SignatureDoesNotMatch — The request signature we calculated does not match the signature you provided |
A signed URL was generated with different parameters than the request used (headers, method, content type, ho… |
| Compute Engine: Quota exceeded (regional limit) |
Compute Engine: Quota 'N2_CPUS' exceeded. Limit: 24.0 in region europe-west1 / QUOTA_EXCEEDED |
The project reached a regional Compute Engine quota (vCPUs per machine family, GPUs, disks, addresses). |
| storage/unauthorized: User does not have permission to access |
Firebase Storage: Firebase Storage: User does not have permission to access 'images/photo.jpg'. (storage/unauthorized) |
Firebase Security Rules for Cloud Storage denied the request for this path and user. |
| Firestore: DEADLINE_EXCEEDED / UNAVAILABLE |
Firestore: 4 DEADLINE_EXCEEDED: Deadline exceeded / 14 UNAVAILABLE: The service is currently unavailable |
A Firestore request timed out or could not reach the service — contention, hot documents, large operations or… |
| Firestore: The query requires an index |
Firestore: 9 FAILED_PRECONDITION: The query requires an index. You can create it here: https://console.firebase.google.com/... |
Your Firestore query combines filters/orderings that need a composite index that does not exist yet. |
| IAP tunnel: Error 4033 not authorized |
gcloud compute ssh: ERROR: (gcloud.compute.start-iap-tunnel) Error while connecting [4033: 'not authorized'] |
SSH through Identity-Aware Proxy failed because you lack IAP tunnel permission or the firewall doesn't allow… |
| gcloud: Reauthentication failed / invalid_grant |
gcloud: ERROR: (gcloud.auth.print-access-token) There was a problem refreshing your current auth tokens: Reauthentication failed. cannot prompt during non-interactive execution |
Your cached Google credentials expired or require a fresh login (session control or password change), and gcl… |
| Key creation is not allowed on this service account |
GCP: FAILED_PRECONDITION: Key creation is not allowed on this service account (constraints/iam.disableServiceAccountKeyCreation) |
An organisation policy forbids creating downloadable JSON keys for service accounts. |
| Workload Identity 403: Permission denied (GKE) |
GKE: google.api_core.exceptions.Forbidden: 403 Caller does not have required permission — Workload Identity: unable to generate access token |
A pod tried to call Google APIs but its Kubernetes service account is not bound to a Google service account (… |
| GKE: Quota 'CPUS' exceeded |
GKE/Compute: Quota 'CPUS' exceeded. Limit: 8.0 in region us-central1 (QUOTA_EXCEEDED) |
Creating nodes or clusters needs more vCPUs than your project's regional quota allows. |
| 429 RESOURCE_EXHAUSTED: Quota exceeded for quota metric |
Google API: 429 RESOURCE_EXHAUSTED — Quota exceeded for quota metric 'Read requests' and limit 'Read requests per minute per user' |
Your project or user exceeded an API rate or daily quota. |
| Pub/Sub NOT_FOUND: Resource not found (topic/subscription) |
Pub/Sub: 5 NOT_FOUND: Resource not found (resource=my-topic) |
The topic or subscription you used doesn't exist in the project the client is configured for. |
| Cloud Functions: Function execution took 60000 ms, finished with status: timeout |
Cloud Functions: Function execution took 60002 ms, finished with status: 'timeout' |
The function ran past its timeout (default 60s for HTTP 1st gen) and was terminated. |
| Cloud Functions: Function failed on loading user code |
Cloud Functions: Provided module can't be loaded / Function failed on loading user code. This is likely due to a bug in the user code |
The function started but could not import/initialise your code, so every invocation fails. |
| ZONE_RESOURCE_POOL_EXHAUSTED |
Compute Engine: The zone 'projects/p/zones/us-central1-a' does not have enough resources available to fulfill the request (ZONE_RESOURCE_POOL_EXHAUSTED) |
Google has no spare capacity for that machine type in the zone right now. |
| Firebase Hosting: Page Not Found on refresh (SPA routes) |
Firebase Hosting: Page Not Found — This file does not exist and there was no 404.html or index.html found in the document root |
A single-page app route returns 404 when opened directly or refreshed, because Firebase Hosting looks for a r… |
| Firestore: Document exceeds the maximum size of 1,048,576 bytes |
Firestore: 3 INVALID_ARGUMENT: The value of property "data" is longer than 1048487 bytes / Document exceeds the maximum size |
A single Firestore document (all fields combined) went beyond the 1 MiB limit. |
| Organization policy constraint violated |
Google Cloud: Constraint constraints/compute.vmExternalIpAccess violated for project — Request violates constraint 'constraints/...' |
An organisation policy forbids what you asked (external IP on a VM, public bucket, allowed regions, public Cl… |
| Pub/Sub: messages redelivered (ack deadline exceeded) |
Pub/Sub: Messages keep being redelivered — acknowledgement deadline expired before the subscriber acked |
Your subscriber took longer than the ack deadline to acknowledge, so Pub/Sub redelivered the message (duplica… |