Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error fetching projects: Unexpected response code: 401


I'm trying to import test cases via Zephyr test case importer jar for a Cloud project, I've provided all the required details (URL, username, password, Access key & secret key) and tried to connect. It is throwing me an error "Error fetching projects: Unexpected response code: 401". 

I've gone through few post and they have asked us to use /rest in the end of the URL. I tried even that, but its not working out. Also, I've tried to re-generate the keys and provided that. In User name field, tried both user name and email, both the combinations are throwing me the same error. 

URL: tried both &
User Name: tried both username & email

Can someone help me on this please ? 


1 comment

Warren Community Leader Aug 13, 2019

Hi @Lavanya_harikumar 

I don't know anything about Zephyr, but I know that using the REST API requires people to use their Jira e-mail address and an API token (see this) or they get a 401 error - not sure if this will work for you

Hi @Warren ,

Thank you for sharing the info ! And it worked out for me :)

I did the below and am able to connect to the projects

1) Provide your URL with /rest 
2) User Name - Provide your email address
3) Password - Generate the API token via (
4) Provide the access & secret keys 

Click on connect, this will enable the projects drop down and all the projects will be displayed. 

The mistake that i did is, I was trying to use the portal password instead of API token. @Warren post has the details about this. 



Thanks much for putting the instructions.  This worked for us as well. 





Log in or Sign up to comment

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you