Getting Error: Authorization Failed, try logging in! When Running zcli apps:update

Con risposta


Data ultimo post: 04 lug 2022

Hello, good day.

I would like to update a private Zendesk app on our instance, but I am getting the error Error: Authorization Failed, try logging in! when I used the command zcli apps:update.


I can see that there's a warning regarding the license, but I have this parameter "license": "ISC" on the package.json file. Also, I have the correct app ID on the zcli.apps.config.json file so I am not sure what is causing the error.

I hope someone will answer my query.

Thank you,
Benessa Mae Dumol


1

7

7 commenti

      Hey Dan, 
       
      Have you ever used the ZCLI to update this app before? Do you have a zcli.apps.config.json in your projects root directory? 
       
      Thanks!

      0


      Likewise! I can't update an app, I just get "Error: Failed to upload app"

      CJ Johnson what did you find out that let you resolve the issue?

      0


      Hi CJ,

      May I ask what solution did you implement to solve this issue?
      Unfortunately, I am still having this issue and wasn't able to use any zcli command

      Looking forward to your response.

      Thank you,
      Benessa

      0


      It turns out that a bunch of changes were made to the workflow on ZCLI and not announced anywhere since I last used this. Problem solved. 

      0


      I'm having this issue now as well, and it's preventing me from updating an app. 

      0


      Hi Ahmed Zaid, apologies for the late reply.

      I created a .bashrc file on my app directory but it's still asking me to set the environment variables.
      Can you let me know if what I did is correct?

      Thank you,
      Benessa

      0


      Hi Ahmed Zaid, thanks for your response.

      I am also not able to run zcli profiles:list because it's asking me to set the environment variables.

      May I ask if you know how to set up the environment variables?

      Thank you,
      Benessa

      0


      Accedi per lasciare un commento.

      Non hai trovato quello che cerchi?

      Nuovo post