Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error "An unexpected error occurred when fetching an auth token"

Dang Thi Thuy Tien
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 20, 2021

Hi,
I am developing a forge app in Atlassian cloud software.
From yesterday, I cannot get data from Jira API in the forge app because of some errors like:
{
"data": {
"userAuthTokenForExtension": {
"success": false,
"errors": [
{
"message": "An unexpected error occurred",
"__typename": "MutationError"
}
],
"authToken": null,
"__typename": "UserAuthTokenForExtensionResponse"
}
},
"extensions": {
"gateway": {
"request_id": "xxxxxxxxx",
"deprecatedFieldsUsed": []
}
}
}
"An unexpected error occurred when fetching an auth token"


I am trying to uninstall the app and install it again but the error still is there.
Another colleague with the same code can get the API.
Looking forward to your support

Thank you,
Tien Dang

2 answers

1 accepted

0 votes
Answer accepted
Dang Thi Thuy Tien
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 22, 2021
0 votes
Pavel Parma Sapientes September 21, 2021

Hi 👋,

 

can you show the code snippet, how do you call the Jira API from your app? And do you use Forge UI or Custom UI with resolvers?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events