Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

XRay Cloud Importing JUnit report Unauthorized Access

Edited

1. POST: https://xray.cloud.xpand-it.com/api/v1/import/execution/junit?testExecKey=TOS-17

2. Client ID and Secret are correct and used at API key setting in POSTMAN.

3. Content-Type : text/xml

4. Body has Binary type attached an XML

5. Almost tried all the stuff from forum but no luck.

6. The execution key is present and I am able to access the key through the browser.

Getting 401 unauthorised with "{"error":"Could not find authentication data on request"}" message. 

Many thanks for the help.

4 answers

Hi Did anyone resolve this?  I am seeing the exact same issue?

Hello am facing the same issue
can i get some assist?

Rogério Paiva - Xray Xporter
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.
Feb 21, 2022

Hi @kavi mahadeo 

If my previous answer below does not help, is it best to contact the Xray Support (http://xraysupport.xpand-it.com ) so that we can request additional information and help further.

Kind regards,
Rogério Paiva [Xray Support Team]

Like kavi mahadeo likes this
0 votes
Rogério Paiva - Xray Xporter
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.
May 17, 2021

Hi @Neelesh 

The error suggests that there is an issue with the way the authentication information is being sent.

Have you generated a token? Or are you using the Client ID and Secret directly in the import REST API?

If you didn't generate a token then that is the problem (https://docs.getxray.app/display/XRAYCLOUD/Authentication+-+REST).

If you are using the token already, please try the curl examples found in the documentation page (https://docs.getxray.app/display/XRAYCLOUD/Import+Execution+Results+-+REST#ImportExecutionResultsREST-JUnitXMLresults).

If you need additional help, please contact the Xray Support (http://xraysupport.xpand-it.com ) so that we can request additional information and help further.

Kind regards,
Rogério Paiva [Xray Support Team]

Any one. Pls help.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events