XRAY Authentication request has expired. Try reloading the page.

Rejina Gunaseelan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 19, 2023

I am trying to use XRAY API.

I have created a clientID and client Secret and have created the access token as follow,

curl -H "Content-Type: application/json" -X POST --data @"auth.json" https://xray.cloud.getxray.app/api/v2/authenticate

I am receiving the access token, but when I am trying to use it on a curl function I am getting exception ,"error":"Authentication request has expired. Try reloading the page." 

 

C:\Users\saginu_mangalathu>curl -H "Accept: application/json" -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnQiOiJkMDE5MGRjMy1lMjNkLTMxZjctYTJjYy05NmViYjQyYTU3NzciLCJhY2NvdW50SWQiOiI3MTIwMjA6ODY2OWU5NTktMWI5YS00YmZjLWJlZmItNzk1ZGY2MThhZTg2IiwiaXNYZWEiOmZhbHNlLCJpYXQiOjE2ODcxNjM3MjUsImV4cCI6MTY4NzI1MDEyNSwiYXVkIjoiMjI0NTZDM0IwMjk1NDQwQTg3NEJENkJGREQ4MDcxNkUiLCJpc3MiOiJjb20ueHBhbmRpdC5wbHVnaW5zLnhyYXkiLCJzdWIiOiIyMjQ1NkMzQjAyOTU0NDBBODc0QkQ2QkZERDgwNzE2RSJ9.qnDyMuJJCLGp9iZqMwwhIwvQUxtxI_I1_xxxxxxxxxx" https://xray.cloud.getxray.app/api/internal/issuelinks/testexec/XCAUT-23/tests
{"error":"Authentication request has expired. Try reloading the page."}

**Altered access token

My Jira account is accessed through 
https://rejinagunaseelan.atlassian.net/

1 answer

0 votes
Swati Verma
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 6, 2023

Did you find any solution for it ? I am also facing the same issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events