Failure to create a new Firebase project: Failure to add Firebase to Google Cloud Platform project. 403 PERMISSION_DENIED
This is the first time I'm learning Flutter and Firebase.
I tried to create a new project using the command "flutterfire configure" inside a flutter project named "notes".
And here's what I've got:
PS D:\courses\flutter\notes> flutterfire configure
i Found 1 Firebase projects.
✔ Select a Firebase project to configure your Flutter application with ·
✔ Enter a project id for your new Firebase project (e.g. my-cool-project) · notes-cyberwolf-1
⠸ Creating new Firebase project notes-cyberwolf-1...
FirebaseCommandException: An error occured on the Firebase CLI when attempting to run a command.
COMMAND: firebase projects:create notes-cyberwolf-1 --json
ERROR: Failed to add Firebase to Google Cloud Platform project. See firebase-debug.log for more info.
And here's the firebase-debug.log:
[debug] [2026-06-21T11:53:01.615Z] ----------------------------------------------------------------------
[debug] [2026-06-21T11:53:01.617Z] Command: C:\nvm4w\nodejs\node.exe C:\nvm4w\nodejs\node_modules\firebase-tools\lib\bin\firebase.js projects:create notes-cyberwolf-1 --json
[debug] [2026-06-21T11:53:01.617Z] CLI Version: 15.22.0
[debug] [2026-06-21T11:53:01.617Z] Platform: win32
[debug] [2026-06-21T11:53:01.617Z] Node Version: v24.16.0
[debug] [2026-06-21T11:53:01.617Z] Detected Agent: unknown
[debug] [2026-06-21T11:53:01.617Z] Time: Sun Jun 21 2026 12:53:01 GMT+0100 (Central European Standard Time)
[debug] [2026-06-21T11:53:01.617Z] ----------------------------------------------------------------------
[debug]
[debug] [2026-06-21T11:53:01.621Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[debug] [2026-06-21T11:53:01.621Z] > authorizing via signed-in user (aymenhelassa1234@gmail.com)
[debug] [2026-06-21T11:53:01.623Z] Checked if tokens are valid: true, expires at: 1782046288370
[debug] [2026-06-21T11:53:01.623Z] Checked if tokens are valid: true, expires at: 1782046288370
[debug] [2026-06-21T11:53:01.624Z] >>> [apiv2][query] POST https://cloudresourcemanager.googleapis.com/v1/projects [none]
[debug] [2026-06-21T11:53:01.624Z] >>> [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects {"projectId":"notes-cyberwolf-1","name":"notes-cyberwolf-1"}
[debug] [2026-06-21T11:53:02.566Z] <<< [apiv2][status] POST https://cloudresourcemanager.googleapis.com/v1/projects 200
[debug] [2026-06-21T11:53:02.566Z] <<< [apiv2][body] POST https://cloudresourcemanager.googleapis.com/v1/projects {"name":"operations/create_project.global.8491709320642598478"}
[debug] [2026-06-21T11:53:02.567Z] Checked if tokens are valid: true, expires at: 1782046288370
[debug] [2026-06-21T11:53:02.567Z] Checked if tokens are valid: true, expires at: 1782046288370
[debug] [2026-06-21T11:53:02.567Z] >>> [apiv2][query] GET https://cloudresourcemanager.googleapis.com/v1/operations/create_project.global.8491709320642598478 [none]
[debug] [2026-06-21T11:53:03.256Z] <<< [apiv2][status] GET https://cloudresourcemanager.googleapis.com/v1/operations/create_project.global.8491709320642598478 200
[debug] [2026-06-21T11:53:03.257Z] <<< [apiv2][body] GET https://cloudresourcemanager.googleapis.com/v1/operations/create_project.global.8491709320642598478 {"name":"operations/create_project.global.8491709320642598478"}
[debug] [2026-06-21T11:53:03.759Z] [Project Creation Poller] Retrying task index 0
[debug] [2026-06-21T11:53:03.760Z] Checked if tokens are valid: true, expires at: 1782046288370
[debug] [2026-06-21T11:53:03.760Z] Checked if tokens are valid: true, expires at: 1782046288370
[debug] [2026-06-21T11:53:03.760Z] >>> [apiv2][query] GET https://cloudresourcemanager.googleapis.com/v1/operations/create_project.global.8491709320642598478 [none]
[debug] [2026-06-21T11:53:03.969Z] <<< [apiv2][status] GET https://cloudresourcemanager.googleapis.com/v1/operations/create_project.global.8491709320642598478 200
[debug] [2026-06-21T11:53:03.969Z] <<< [apiv2][body] GET https://cloudresourcemanager.googleapis.com/v1/operations/create_project.global.8491709320642598478 {"name":"operations/create_project.global.8491709320642598478"}
[debug] [2026-06-21T11:53:04.980Z] [Project Creation Poller] Retrying task index 0
[debug] [2026-06-21T11:53:04.981Z] Checked if tokens are valid: true, expires at: 1782046288370
[debug] [2026-06-21T11:53:04.981Z] Checked if tokens are valid: true, expires at: 1782046288370
[debug] [2026-06-21T11:53:04.981Z] >>> [apiv2][query] GET https://cloudresourcemanager.googleapis.com/v1/operations/create_project.global.8491709320642598478 [none]
[debug] [2026-06-21T11:53:05.185Z] <<< [apiv2][status] GET https://cloudresourcemanager.googleapis.com/v1/operations/create_project.global.8491709320642598478 200
[debug] [2026-06-21T11:53:05.185Z] <<< [apiv2][body] GET https://cloudresourcemanager.googleapis.com/v1/operations/create_project.global.8491709320642598478 {"name":"operations/create_project.global.8491709320642598478","metadata":{"@type":"type.googleapis.com/google.cloudresourcemanager.v1.ProjectCreationStatus","gettable":true,"ready":true},"done":true,"response":{"@type":"type.googleapis.com/google.cloudresourcemanager.v1.Project","projectNumber":"153615364899","projectId":"notes-cyberwolf-1","lifecycleState":"ACTIVE","name":"notes-cyberwolf-1","createTime":"2026-06-21T11:53:02.175Z"}}
[debug] [2026-06-21T11:53:05.186Z] Checked if tokens are valid: true, expires at: 1782046288370
[debug] [2026-06-21T11:53:05.186Z] Checked if tokens are valid: true, expires at: 1782046288370
[debug] [2026-06-21T11:53:05.186Z] >>> [apiv2][query] POST https://firebase.googleapis.com/v1beta1/projects/notes-cyberwolf-1:addFirebase [none]
[debug] [2026-06-21T11:53:06.551Z] <<< [apiv2][status] POST https://firebase.googleapis.com/v1beta1/projects/notes-cyberwolf-1:addFirebase 403
[debug] [2026-06-21T11:53:06.551Z] <<< [apiv2][body] POST https://firebase.googleapis.com/v1beta1/projects/notes-cyberwolf-1:addFirebase {"error":{"code":403,"message":"The caller does not have permission","status":"PERMISSION_DENIED"}}
[debug] [2026-06-21T11:53:06.553Z] Request to https://firebase.googleapis.com/v1beta1/projects/notes-cyberwolf-1:addFirebase had HTTP Error: 403, The caller does not have permission
[debug] [2026-06-21T11:53:06.555Z] FirebaseError: Request to https://firebase.googleapis.com/v1beta1/projects/notes-cyberwolf-1:addFirebase had HTTP Error: 403, The caller does not have permission
at responseToError (C:\Users\aymen\AppData\Local\nvm\v24.16.0\node_modules\firebase-tools\lib\responseToError.js:53:12)
at RetryOperation._fn (C:\Users\aymen\AppData\Local\nvm\v24.16.0\node_modules\firebase-tools\lib\apiv2.js:333:77)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
[error]
[error] Error: Failed to add Firebase to Google Cloud Platform project. See firebase-debug.log for more info.
I have no idea how to fix this 403 PERMISSION_DENIED error.