Firebase Deploy Error: Authorization failed
up vote
0
down vote
favorite
I am trying the following firebase deploy command and I get the following error:
Error: Authorization failed. This account is missing the following
required permissions on project ID project:
cloudfunctions.functions.create
cloudfunctions.functions.delete
cloudfunctions.functions.get
cloudfunctions.functions.list
cloudfunctions.functions.update
cloudfunctions.operations.get
firebase.projects.get
firebasehosting.sites.update
I have all the accesses. I am working with angular 6.
I should mention that this project was working normal in a previous project in Firebase. I have created a new one and I want to migrate the contents of the previous one to this new one and there the problem started.
I should also mention that before I was logged in with another user.
Any ideas?
angular
add a comment |
up vote
0
down vote
favorite
I am trying the following firebase deploy command and I get the following error:
Error: Authorization failed. This account is missing the following
required permissions on project ID project:
cloudfunctions.functions.create
cloudfunctions.functions.delete
cloudfunctions.functions.get
cloudfunctions.functions.list
cloudfunctions.functions.update
cloudfunctions.operations.get
firebase.projects.get
firebasehosting.sites.update
I have all the accesses. I am working with angular 6.
I should mention that this project was working normal in a previous project in Firebase. I have created a new one and I want to migrate the contents of the previous one to this new one and there the problem started.
I should also mention that before I was logged in with another user.
Any ideas?
angular
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying the following firebase deploy command and I get the following error:
Error: Authorization failed. This account is missing the following
required permissions on project ID project:
cloudfunctions.functions.create
cloudfunctions.functions.delete
cloudfunctions.functions.get
cloudfunctions.functions.list
cloudfunctions.functions.update
cloudfunctions.operations.get
firebase.projects.get
firebasehosting.sites.update
I have all the accesses. I am working with angular 6.
I should mention that this project was working normal in a previous project in Firebase. I have created a new one and I want to migrate the contents of the previous one to this new one and there the problem started.
I should also mention that before I was logged in with another user.
Any ideas?
angular
I am trying the following firebase deploy command and I get the following error:
Error: Authorization failed. This account is missing the following
required permissions on project ID project:
cloudfunctions.functions.create
cloudfunctions.functions.delete
cloudfunctions.functions.get
cloudfunctions.functions.list
cloudfunctions.functions.update
cloudfunctions.operations.get
firebase.projects.get
firebasehosting.sites.update
I have all the accesses. I am working with angular 6.
I should mention that this project was working normal in a previous project in Firebase. I have created a new one and I want to migrate the contents of the previous one to this new one and there the problem started.
I should also mention that before I was logged in with another user.
Any ideas?
angular
angular
asked Nov 5 at 2:10
Paco Zevallos
407315
407315
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
Your current account does not have permission to deploy. You'll need to use firebase logout then firebase login.
Another thing you can do is add your current account to the list of users that is authorized to do so.
https://console.firebase.google.com/u/0/project/[*your-project-id*]/settings/iam
Thanks Philip, I ran the following commandfirebase use --addobviously after I logged in with the new account, it seems I still needed to add it, after I'm done I could do the deploy normally. I saw this solution at: stackoverflow.com/questions/44921840/…
– Paco Zevallos
Nov 5 at 17:07
Ah, I should have read the question more carefully, I was under the impression that you wanted to deploy in the old project. My mistake.
– Philip
Nov 6 at 0:20
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Your current account does not have permission to deploy. You'll need to use firebase logout then firebase login.
Another thing you can do is add your current account to the list of users that is authorized to do so.
https://console.firebase.google.com/u/0/project/[*your-project-id*]/settings/iam
Thanks Philip, I ran the following commandfirebase use --addobviously after I logged in with the new account, it seems I still needed to add it, after I'm done I could do the deploy normally. I saw this solution at: stackoverflow.com/questions/44921840/…
– Paco Zevallos
Nov 5 at 17:07
Ah, I should have read the question more carefully, I was under the impression that you wanted to deploy in the old project. My mistake.
– Philip
Nov 6 at 0:20
add a comment |
up vote
1
down vote
Your current account does not have permission to deploy. You'll need to use firebase logout then firebase login.
Another thing you can do is add your current account to the list of users that is authorized to do so.
https://console.firebase.google.com/u/0/project/[*your-project-id*]/settings/iam
Thanks Philip, I ran the following commandfirebase use --addobviously after I logged in with the new account, it seems I still needed to add it, after I'm done I could do the deploy normally. I saw this solution at: stackoverflow.com/questions/44921840/…
– Paco Zevallos
Nov 5 at 17:07
Ah, I should have read the question more carefully, I was under the impression that you wanted to deploy in the old project. My mistake.
– Philip
Nov 6 at 0:20
add a comment |
up vote
1
down vote
up vote
1
down vote
Your current account does not have permission to deploy. You'll need to use firebase logout then firebase login.
Another thing you can do is add your current account to the list of users that is authorized to do so.
https://console.firebase.google.com/u/0/project/[*your-project-id*]/settings/iam
Your current account does not have permission to deploy. You'll need to use firebase logout then firebase login.
Another thing you can do is add your current account to the list of users that is authorized to do so.
https://console.firebase.google.com/u/0/project/[*your-project-id*]/settings/iam
answered Nov 5 at 6:59
Philip
3264
3264
Thanks Philip, I ran the following commandfirebase use --addobviously after I logged in with the new account, it seems I still needed to add it, after I'm done I could do the deploy normally. I saw this solution at: stackoverflow.com/questions/44921840/…
– Paco Zevallos
Nov 5 at 17:07
Ah, I should have read the question more carefully, I was under the impression that you wanted to deploy in the old project. My mistake.
– Philip
Nov 6 at 0:20
add a comment |
Thanks Philip, I ran the following commandfirebase use --addobviously after I logged in with the new account, it seems I still needed to add it, after I'm done I could do the deploy normally. I saw this solution at: stackoverflow.com/questions/44921840/…
– Paco Zevallos
Nov 5 at 17:07
Ah, I should have read the question more carefully, I was under the impression that you wanted to deploy in the old project. My mistake.
– Philip
Nov 6 at 0:20
Thanks Philip, I ran the following command
firebase use --add obviously after I logged in with the new account, it seems I still needed to add it, after I'm done I could do the deploy normally. I saw this solution at: stackoverflow.com/questions/44921840/…– Paco Zevallos
Nov 5 at 17:07
Thanks Philip, I ran the following command
firebase use --add obviously after I logged in with the new account, it seems I still needed to add it, after I'm done I could do the deploy normally. I saw this solution at: stackoverflow.com/questions/44921840/…– Paco Zevallos
Nov 5 at 17:07
Ah, I should have read the question more carefully, I was under the impression that you wanted to deploy in the old project. My mistake.
– Philip
Nov 6 at 0:20
Ah, I should have read the question more carefully, I was under the impression that you wanted to deploy in the old project. My mistake.
– Philip
Nov 6 at 0:20
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53147438%2ffirebase-deploy-error-authorization-failed%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password