CAPTCHA issue while loggin in with REST API


I am trying to access with REST API using cookie based authentication, and few of my earlier login attempts failed. Now i am continuously getting below in the response


X-Authentication-Denied-Reason → CAPTCHA_CHALLENGE; login-url=



"errorMessages": [
"Login denied"
"errors": {}


Can anyone please tell me how should i reset this on my account. I tried logging out, then clearing the cookies and relogging in to my account, but while logging in, i donot get any captcha screen while logging in from browser and am able to login to my account from the browser.

4 answers

This widget could not be displayed.

What REST client are you using (standalone or some client library)? Are you sure the cookie is still valid? 

This widget could not be displayed.


I am trying to do it with HttpsURLConnection in java, and also tried with Postman extension from chrome.

I am not sending any cookies. I am trying to access below url with the details as follows:


Headers: Content-Type: application/json

Body: { "username": "<account id mentioned on services", "password": "<password>" }



Getting 403 response

This widget could not be displayed.

When you login via browser, you log in via, not directly to JIRA. Maybe this prevents to reset the "failed login" counter in, so you would need to contact a JIRA admin at Atlassian to clear the "failed login" counter for your account.

This widget could not be displayed.

I get the same behavior and I have not had a failed login. I think that for this particular instance only authentication through is allowed. Basic authentication yields the same results.

By the way, most of the resources there are accessible for anonymous users - do you need to specifically target

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

217 views 1 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you