"Invalid Firebase File"
Build failure: Invalid Firebase configuration file
If your app build is failing, your build is not working, or your download is not completing and you see the error:
“It seems your app build has encountered an issue. It appears that the Google Firebase Configuration file uploaded is invalid.”
This means the Firebase configuration file uploaded in your dashboard is incorrect, corrupted, or does not match your app. This will cause the build process to fail.
Why this build failure happens
- Incorrect Firebase file uploaded
- The file belongs to a different Firebase project
- The file does not match your app’s package name or Bundle ID
- Wrong file type uploaded
- Android requires the google-services.json file
- iOS requires the GoogleService-Info.plist file
- File was modified or corrupted
- The file contents were edited manually
- The file was renamed incorrectly
How to fix this build failure
- Regenerate the Firebase configuration file
- Log in to the Firebase Console
- Open the correct Firebase project
- Select your registered app
- Download a fresh configuration file
Do not edit or modify the Firebase configuration file after downloading it from Firebase.
- Verify app details in Firebase
- Ensure the Android package name matches exactly
- Ensure the iOS Bundle ID matches exactly
Even a small mismatch will result in a build failure.
- Upload the new Firebase file
- Go to your app dashboard
- Navigate to the screen where you uploaded the Firebase configuration file: Login Build Settings or Notification build settings
- Upload the newly downloaded file
- Save the changes
- Rebuild your app
- Go to the Download dashboard
- Click Rebuild under the relevant app card
Once the correct Firebase configuration file is uploaded, your build failure should be resolved and the download should complete successfully.
Need more help?
If you've worked through this and still need a hand, contact support — we'll dig in with you.