Forge: Principal has insufficient permissions

Forge CLI version: 9.3.0 && 9.2.0
RequestId: e8fbf67827a84c5991bab06675e671a5

I’m working on a PoC to migrate to Forge
Everything was working great until I wanted to do a fresh install and removed the forge app from Jira instance

Now with every deploy and install I get this error
Error: Authorization failed: Principal has insufficient permissions

The user is global admin in Jira and I don’t have troubles with forge login.
Forge whoami shows correct email and in the dev console I can see the user as an Owner and an Admin

Help is greatly appreciated

Hi @igorvasiliev1 ,

Welcome to the Atlassian Developer Community.

fresh install and removed the forge app from Jira instance

It seems like this is where the trouble started, but I’m not clear what you actually did here.

Since this is just at the proof of concept stage, a workaround might be to:

  • Delete the app via the Developer Console UI (this step is just necessary as a cleanup exercise).
  • Create a new app from your existing app source code by running forge register.

If this doesn’t help, you may have to raise a support case so that our support team can work with you to investigate what the problem is.

Regards,
Dugald

Thanks for the answer

I now believe this was a configuration error on our side where some user permissions were revoked

As far as

It seems like this is where the trouble started, but I’m not clear what you actually did here.

I did mess up the explanation, it was meant to be
We have connectModules and I was removing connect part of the app from manage apps page

Once again, thanks for the answer
If I find an actual problem, I’ll for sure create a support ticket, but for now it’s just a user error