Getting error trying to load panel during Forge tutorial

Hi,

I’m attempting to go through the Forge Tutorial. I’m on Part 2 and I’ve kind of screwed myself. :grinning: I successfully finished the final section of this Part, entitled “Making an API call on behalf of a user”, but I went to the “Connected apps” section of my Profile and removed the access for my “hello world” app because I wanted to see if Jira would re-prompt me for access again. Well, it didn’t. :grin: Instead, now I’m just getting a “Something went wrong” error in that panel and I can’t get it to load successfully again.

In my forge tunnel command prompt window it just keeps saying:

invocation: a542fe7cf080709c index.run
ERROR 22:37:10.548 a542fe7cf080709c [NEEDS_AUTHENTICATION_ERR: Authentication required] {
serviceKey: ‘atlassian-token-service-key’
}
ERROR 22:37:10.549 a542fe7cf080709c [NEEDS_AUTHENTICATION_ERR: Authentication required] {
serviceKey: ‘atlassian-token-service-key’
}

Any help would be appreciated. Thanks!

Ryan

I got it working again. I stopped my forge tunnel with Ctrl + C and then restarted it again. Then put the app back to using asApp(), tested that it worked well, and then changed the app to using asUser() and it re-prompted me again, as expected.

Just an additional note (to myself) that this seems to be an issue isolated to the forge tunnel feature. If I stop doing a tunnel and I “Remove access” for my application and I refresh my Jira issue, I am successfully prompted again to give my app access. So this issue only happens when a forge tunnel is actively running.

1 Like

Hi, where can I find the Remove access?

Click on your profile picture in the upper right corner, click on “Account Settings”, then click on “Connected apps” on the left.

1 Like