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?










share|improve this question


























    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?










    share|improve this question
























      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?










      share|improve this question













      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 firebase






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 5 at 2:10









      Paco Zevallos

      407315




      407315
























          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






          share|improve this answer





















          • 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











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          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
































          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






          share|improve this answer





















          • 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















          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






          share|improve this answer





















          • 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













          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






          share|improve this answer












          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







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 5 at 6:59









          Philip

          3264




          3264












          • 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


















          • 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
















          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


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          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




















































































          這個網誌中的熱門文章

          Academy of Television Arts & Sciences

          L'Équipe

          1995 France bombings