admin管理员组

文章数量:1391925

On March 12, 2025, there was an incident with Firebase App Hosting configuration:

The incident is supposed to be resolved but I am still getting errors with the apphosting.yaml configuration of my Next.js app. The only change is that now it happens at build time and not after it's been deployed.

Cloud Build Error:

unhandledRejection Error: Service account object must contain a string "project_id" property.
at <unknown> (.next/server/chunks/2256.js:107:1614) {
  type: 'FirebaseAppError',
  errorInfo: [Object],
  codePrefix: 'app'
}

I am using a Secret to store the private key value:

runConfig:
memoryMiB: 1024
cpu: 1

env:
  # Other env variables 
  - variable: SERVICE_ACCOUNT_PRIVATE_KEY
    secret: service-account-private-key

I tried changing the Secret and have the variable points to another version of the Secret, but no luck.

Any idea what can cause the problem? Is anyone in the same situation?

On March 12, 2025, there was an incident with Firebase App Hosting configuration: https://status.firebase.google/incidents/dMqtcJBwkmWeGDhmGqjN

The incident is supposed to be resolved but I am still getting errors with the apphosting.yaml configuration of my Next.js app. The only change is that now it happens at build time and not after it's been deployed.

Cloud Build Error:

unhandledRejection Error: Service account object must contain a string "project_id" property.
at <unknown> (.next/server/chunks/2256.js:107:1614) {
  type: 'FirebaseAppError',
  errorInfo: [Object],
  codePrefix: 'app'
}

I am using a Secret to store the private key value:

runConfig:
memoryMiB: 1024
cpu: 1

env:
  # Other env variables 
  - variable: SERVICE_ACCOUNT_PRIVATE_KEY
    secret: service-account-private-key

I tried changing the Secret and have the variable points to another version of the Secret, but no luck.

Any idea what can cause the problem? Is anyone in the same situation?

Share Improve this question asked Mar 13 at 11:47 lordofmaxlordofmax 8231 gold badge8 silver badges21 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

It's back to normal now for me, I rolled back to a previous commit with the Firebase App Hosting interface, it worked, and triggered a new rollout from my branch, it worked as well.

本文标签: