Zephyr error

unexpected response code 401 zephyr

This article is about an error I received during my test case import process from Excel to Zephyr with JIRA Cloud. I am getting the generic error: “unexpected response code 401 zephyr” , which does not makes any sense to me.

Issue

The issue occurs when you try to import your test cases from an Excel file using the import tool provided by Zephyr. This is a Java utility, will attach the jar file here so that you can access the file if needed. During this process, I am trying to use the JIRA user name and JIRA password and when I click on connect I get the error.

zephyr import utility : Download

unexpected response code 401 zephyr
Error Message

Resolution

The solution to this error is DO NOT USE JIRA password. It has to be  API token generated from JIRA. So, the values for user name and password will be as below:

user name : JIRA User Name

password : API Token from JIRA

The url to generate the toke is : https://id.atlassian.com/manage/api-tokens

Conclusion

This was a quick post about an error “unexpected response code 401 zephyr”. Hope someone will be benefited in need. Keep reading and sharing…


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *