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/
Did you find any solution for it ? I am also facing the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.