Forums

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

Error:Unexpected response code: 401 Your presented credentials do not provide access to this resourc

Josin Joseph March 11, 2019

Hi,

 

When i try to upload test scripts to JIRA using zfj-importer, it gives me an error saying:

Issue ******* created!
Unable to add testcase ending at rowNumber - 6. Error:Unexpected response code: 401
Your presented credentials do not provide access to this resource.

 

However i am able to login to the importer without issues, also the test case is being created but no steps are being added.

The last time i was able to do this was just last week.

Also have tried to reset the API keys, but still no go.

4 answers

2 accepted

0 votes
Answer accepted
Joseph Winkelbauer June 24, 2019

Create an API Token and check your username you login with.  It may no longer be short name, but rather an email address.

You will still use API keys in addition to the Token.

0 votes
Answer accepted
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 12, 2019

Hi Josin,

I was not able to locate a direct answer but I found a few previous post on community and the Zephyr Help Center where other users ran into the same error viewable at the link below:

The second and third link notes refreshing the Zephyr secret key in the importer, however it was never confirmed wether this would be successful and in all cases I located looks like they were directed to create a request https://www.getzephyr.com/support and the issues have been resolved via a support request filed with Zephyr support directly.

Regards,
Earl

0 votes
Jayesh Wankhade
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 8, 2019

I am also facing the same issue, even after updating my API Token i am facing the same issue. Please find the screen shot attached herein.

 

error.PNG

0 votes
Anirudh Chauhan
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!
July 18, 2019

I tried all the suggestion solutions mentioned in your comments, re-generated API token, re-generated API Keys, etc, but continue to face the same issue, that Test Steps are not uploaded in JIRA anymore. We've been using Zephyr for more than 2 years now, and are familiar with all such operations. Please advise.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events