My error when using firebase init --debug
[2019-01-28T05:32:18.956Z] Error Context: {
"body": {
"error": {
"code": 403,
"message": "The caller does not have permission",
"status": "PERMISSION_DENIED"
}
},
"response": {
"statusCode": 403,
"body": {
"error": {
"code": 403,
"message": "The caller does not have permission",
"status": "PERMISSION_DENIED"
}
},
"headers": {
"vary": "X-Origin, Referer, Origin,Accept-Encoding",
"content-type": "application/json; charset=UTF-8",
"date": "Mon, 28 Jan 2019 05:32:18 GMT",
"server": "ESF",
"cache-control": "private",
"x-xss-protection": "1; mode=block",
"x-frame-options": "SAMEORIGIN",
"x-content-type-options": "nosniff",
"alt-svc": "quic=\":443\"; ma=2592000; v=\"44,43,39\"",
"accept-ranges": "none",
"transfer-encoding": "chunked"
},
"request": {
"uri": {
"protocol": "https:",
"slashes": true,
"auth": null,
"host": "firebase.googleapis.com",
"port": 443,
"hostname": "firebase.googleapis.com",
"hash": null,
"search": null,
"query": null,
"pathname": "/v1beta1/projects/young-picasso",
"path": "/v1beta1/projects/young-picasso",
"href": "https://firebase.googleapis.com/v1beta1/projects/young-picasso"
},
"method": "GET"
}
}
}
How can I change the path of project to the one that i am currently using? I am currently working on project in different account but the path shown is the project of previous account. Currently it shows young picasso but my project path is different in another account. I am new on firebase cli and I dont know how to fix this, how can I fix this?
Also, firebase list command shows my project that i am currently working as current and permission type is owner. I also have already used command firebase -login --reauth to change from previous account to another account.
I solved this by delete this file .firebaserc
.
Steps:
.firebaserc
at Your Application Folder.firebase init
Good luck
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With