Error map

secrets Firebase Functions: secret value is undefined — secret not bound to the function or no access

Google Cloud / Firebase · layer 6, Platform & cloud

Open the full error page →

Centre: this error. First ring: errors it is linked with (11). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

secrets — Firebase Functions: secret value is undefined — secret not bound to the function or no access (Google Cloud / Firebase)secretsSecret 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' (Google Cloud / Firebase)Secret Manager: Per…CreateContainerConfigError — Kubernetes: CreateContainerConfigError — secret / configmap not found (Kubernetes)CreateContainerConf…ResourceInitializationError — ECS: ResourceInitializationError: unable to pull secrets or registry auth (AWS)ResourceInitializat…AADSTS7000222 — AADSTS7000222: The provided client secret keys for app are expired (Azure)AADSTS7000222SecretNotFound — Key Vault: (SecretNotFound) A secret with (name/id) x was not found in this key vault (Azure)SecretNotFoundrewrites — Firebase Hosting rewrite to a function returns 404 (wrong function name or region) (Google Cloud / Firebase)rewritesHttpsError — Firebase callable function error: FirebaseError: internal (unhandled exception in the function) (Google Cloud / Firebase)HttpsErrorcallable CORS — Firebase callable function blocked by CORS or 403: wrong region or function not invokable (Google Cloud / Firebase)callable CORSSecret Manager — Cloud Run deploy failed: Permission denied on secret (secretmanager.versions.access) (Google Cloud / Firebase)Secret Managerdeploy — Firebase Functions deploy failed: Node runtime/engine unsupported or build error (Google Cloud / Firebase)deploybackend spec — Firebase deploy: User code failed to load. Cannot determine backend specification (Google Cloud / Firebase)backend specCloud 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 (Google Cloud / Firebase)Cloud Run 403: Your…PERMISSION_DENIED: Permission 'x' denied on resource — Google Cloud: 403 PERMISSION_DENIED — Permission 'storage.objects.get' denied on resource (or it may not exist) (Google Cloud / Firebase)PERMISSION_DENIED: …Key creation is not allowed on this service account — GCP: FAILED_PRECONDITION: Key creation is not allowed on this service account (constraints/iam.disableServiceAccountKeyCreation) (Google Cloud / Firebase)Key creation is not…CrashLoopBackOff — Kubernetes: CrashLoopBackOff (Kubernetes)CrashLoopBackOffKeyError — KeyError: 'x' (Python)KeyErrorFailedScheduling — Kubernetes: Pod stuck in Pending — FailedScheduling: 0/3 nodes are available (Kubernetes)FailedSchedulingAccessDenied — AWS S3: AccessDenied (403) when calling GetObject / PutObject (AWS)AccessDeniedIAM AccessDeniedException — AccessDeniedException: User: arn:aws:iam::... is not authorized to perform: service:Action on resource: ... (AWS)IAM AccessDeniedExc…sts:AssumeRole denied — is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::...:role/... (AWS)sts:AssumeRole deni…invalid_client — OAuth 2.0 Error: invalid_client (Authentication)invalid_clientAADSTS50020 — AADSTS50020: User account from identity provider does not exist in tenant and cannot access the application (Azure)AADSTS50020AADSTS50034 — AADSTS50034: The user account does not exist in the directory (Azure)AADSTS50034AADSTS500113 — AADSTS500113: No reply address is registered for the application (Azure)AADSTS500113ResourceNotFound — ResourceNotFound: The Resource 'Microsoft.X/...' under resource group 'y' was not found (Azure)ResourceNotFoundKey Vault Forbidden — Key Vault: (Forbidden) The user, group or application does not have secrets get permission on key vault (Azure)Key Vault ForbiddenFirebase 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 (Google Cloud / Firebase)Firebase Hosting: P…custom domain — Firebase Hosting custom domain: SSL certificate pending / needs setup (DNS records) (Google Cloud / Firebase)custom domainTypeError arguments — TypeError: f() takes 1 positional argument but 2 were given (Python)TypeError argumentsTypeError missing arg — TypeError: f() missing 1 required positional argument: 'x' (Python)TypeError missing a…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 (Google Cloud / Firebase)Cloud Functions: Fu…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 (Google Cloud / Firebase)CORS: No Access-Con…Invalid function argument — Terraform: Error: Invalid function argument — Invalid value for "list" parameter: list of string required / Call to function "lookup" failed (Terraform)Invalid function ar…no such function — SQLite: no such function: X (SQL)no such functionNoCredentialsError — AWS: Unable to locate credentials / Could not load credentials from any providers (AWS)NoCredentialsErrorCloud 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 (Google Cloud / Firebase)Cloud Run 503: The …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 (Google Cloud / Firebase)403: does not have …Cloud Functions: Build failed — Cloud Functions: Build failed: function.js does not exist / npm install failed with exit code 1 (Cloud Build step) (Google Cloud / Firebase)Cloud Functions: Bu…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 (Google Cloud / Firebase)Firebase: Your proj…ModuleNotFoundError — Cloud Functions Python: ModuleNotFoundError: No module named 'X' (requirements.txt) (Google Cloud / Firebase)ModuleNotFoundErrorCannot find module — Cloud Functions: Error: Cannot find module 'X' (dependency missing at runtime) (Google Cloud / Firebase)Cannot find moduleApp Engine — App Engine deploy failed: invalid app.yaml (runtime not supported / entrypoint / handlers) (Google Cloud / Firebase)App Enginehosting — Firebase Hosting deploy: Could not find site / hosting target not configured (Google Cloud / Firebase)hosting

Directly related (11)

Secret Manager: Permission secretmanager.versions.access deniedGoogle Cloud / Firebase

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.

CreateContainerConfigErrorKubernetes

Kubernetes: CreateContainerConfigError — secret / configmap not found

Kubernetes can’t build the container’s configuration — usually a referenced Secret, ConfigMap or key doesn’t exist in that namesp…

ResourceInitializationErrorAWS

ECS: ResourceInitializationError: unable to pull secrets or registry auth

Fargate couldn’t fetch the task’s secrets (Secrets Manager/SSM) or registry credentials before starting containers.

AADSTS7000222Azure

AADSTS7000222: The provided client secret keys for app are expired

The app registration’s client secret has expired, so service-to-service authentication fails.

SecretNotFoundAzure

Key Vault: (SecretNotFound) A secret with (name/id) x was not found in this key vault

The secret name (or version) doesn’t exist in that vault — typo, wrong vault, or the secret is deleted (soft-deleted).

rewritesGoogle Cloud / Firebase

Firebase Hosting rewrite to a function returns 404 (wrong function name or region)

A `rewrites` rule pointing at Cloud Functions or Cloud Run doesn't reach the service.

HttpsErrorGoogle Cloud / Firebase

Firebase callable function error: FirebaseError: internal (unhandled exception in the function)

A callable function threw a non-`HttpsError` exception, so the client only sees a generic `internal` error.

callable CORSGoogle Cloud / Firebase

Firebase callable function blocked by CORS or 403: wrong region or function not invokable

The browser reports a CORS error calling `httpsCallable`, usually because the function URL/region is wrong or unauthenticated inv…

Secret ManagerGoogle Cloud / Firebase

Cloud Run deploy failed: Permission denied on secret (secretmanager.versions.access)

The service account can't read the secret that is mounted as an env var or volume.

deployGoogle Cloud / Firebase

Firebase Functions deploy failed: Node runtime/engine unsupported or build error

`firebase deploy --only functions` fails because of the Node version, dependency or build step.

backend specGoogle Cloud / Firebase

Firebase deploy: User code failed to load. Cannot determine backend specification

The CLI couldn't execute your `functions` source to discover which functions it defines, so nothing is deployed.

Two steps away (32)

Cloud Run 403: Your client does not have permission to get URLGoogle Cloud / Firebase

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.invoker` role.

PERMISSION_DENIED: Permission 'x' denied on resourceGoogle Cloud / Firebase

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.

Key creation is not allowed on this service accountGoogle Cloud / Firebase

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.

CrashLoopBackOffKubernetes

Kubernetes: CrashLoopBackOff

The container starts, crashes (or exits), and Kubernetes keeps restarting it with increasing back-off delays.

KeyErrorPython

KeyError: 'x'

You accessed a dictionary key that doesn’t exist.

FailedSchedulingKubernetes

Kubernetes: Pod stuck in Pending — FailedScheduling: 0/3 nodes are available

The scheduler can’t find a node that satisfies the pod’s resource requests, selectors, taints or volume constraints.

AccessDeniedAWS

AWS S3: AccessDenied (403) when calling GetObject / PutObject

An IAM policy, bucket policy, ACL/ownership setting, Block Public Access or KMS key policy denied the S3 request.

IAM AccessDeniedExceptionAWS

AccessDeniedException: User: arn:aws:iam::... is not authorized to perform: service:Action on resource: ...

The IAM user or role making the call has no permission for that action on that resource — the message names both.

sts:AssumeRole deniedAWS

is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::...:role/...

The caller can’t assume the role — either its own policy doesn’t allow sts:AssumeRole, or the role’s trust policy doesn’t trust t…

invalid_clientAuthentication

OAuth 2.0 Error: invalid_client

The OAuth server couldn’t authenticate your application — wrong client ID/secret, wrong auth method, or the client doesn’t exist…

AADSTS50020Azure

AADSTS50020: User account from identity provider does not exist in tenant and cannot access the application

The signed-in user belongs to another tenant (or is a personal Microsoft account) and isn’t a guest in the app’s tenant.

AADSTS50034Azure

AADSTS50034: The user account does not exist in the directory

There’s no user with that sign-in name in the tenant.

AADSTS500113Azure

AADSTS500113: No reply address is registered for the application

The app registration has no redirect URI for the platform being used, so Entra ID has nowhere to send the response.

ResourceNotFoundAzure

ResourceNotFound: The Resource 'Microsoft.X/...' under resource group 'y' was not found

The specific resource doesn’t exist in that resource group/subscription — wrong name, group or subscription, or it was deleted.

Key Vault ForbiddenAzure

Key Vault: (Forbidden) The user, group or application does not have secrets get permission on key vault

The caller authenticated but has no permission on the vault — missing access policy or RBAC role, or the vault’s firewall blocks…

Firebase Hosting: Page Not Found on refresh (SPA routes)Google Cloud / Firebase

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 real file at that pat…

custom domainGoogle Cloud / Firebase

Firebase Hosting custom domain: SSL certificate pending / needs setup (DNS records)

The custom domain stays in "Needs setup" or the certificate is pending because DNS doesn't match the required records.

TypeError argumentsPython

TypeError: f() takes 1 positional argument but 2 were given

A function was called with more positional arguments than it accepts — very often a method missing `self`.

TypeError missing argPython

TypeError: f() missing 1 required positional argument: 'x'

A function was called without a required parameter.

Cloud Functions: Function failed on loading user codeGoogle Cloud / Firebase

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.

CORS: No Access-Control-Allow-Origin (Cloud Storage)Google Cloud / Firebase

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 your origin, method…

Invalid function argumentTerraform

Terraform: Error: Invalid function argument — Invalid value for "list" parameter: list of string required / Call to function "lookup" failed

A built-in function got a wrong type/value (empty list, missing key, wrong type).

no such functionSQL

SQLite: no such function: X

The query calls a function this SQLite build doesn't have.

NoCredentialsErrorAWS

AWS: Unable to locate credentials / Could not load credentials from any providers

The AWS CLI/SDK found no credentials in any place it looks — env vars, profile files, SSO cache or an instance/task role.

Cloud Run 503: The request failed because the instance had an errorGoogle Cloud / Firebase

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-instances/concurrency…

403: does not have storage.objects.get accessGoogle Cloud / Firebase

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.

Cloud Functions: Build failedGoogle Cloud / Firebase

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.

Firebase: Your project must be on the Blaze (pay-as-you-go) planGoogle Cloud / Firebase

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.

ModuleNotFoundErrorGoogle Cloud / Firebase

Cloud Functions Python: ModuleNotFoundError: No module named 'X' (requirements.txt)

The deployed Python function imports a package that wasn't installed from requirements.txt.

Cannot find moduleGoogle Cloud / Firebase

Cloud Functions: Error: Cannot find module 'X' (dependency missing at runtime)

The deployed function can't load a module that works locally.

App EngineGoogle Cloud / Firebase

App Engine deploy failed: invalid app.yaml (runtime not supported / entrypoint / handlers)

`gcloud app deploy` rejects the configuration or the app fails its health check after deploy.

hostingGoogle Cloud / Firebase

Firebase Hosting deploy: Could not find site / hosting target not configured

`firebase deploy --only hosting` can't resolve the site or target in firebase.json.