Why getting redirect exceed 30 error while creating JIRA ticket with REST API

Aleena December 19, 2017

I was creating jira tickets with REST API, but facing  "redirect exceed 30" error. It was working fine for few months. But suddenly seeing this fail.

the server name I was using is 'https://jira.abc.com"

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 22, 2017

I haven't been able to find much on this error as to how it might directly relate to Atlassian APIs.  But I did find on explanation of this kind of error over in this stackoverflow post:  https://stackoverflow.com/questions/42237672/python-toomanyredirects-exceeded-30-redirects

So that seems to indicate that the request you are making looks like it's getting caught in some kind of redirect loop forever.  And rather than let the request go on like that forever, it has an upper limit on the number of redirects before it fails.

I would be interested to learn more about how you are generating this specific REST call.  I'm curious of how you are doing this?  Are you using cUrl to make the call, or postman, or some other application?   Just wanted to see if there might be something wrong with the syntax of your request that might be contributing to this odd error.  I can foresee a scenario in regards to a malformed request that could be getting caught in this kind of loop.

Suggest an answer

Log in or Sign up to answer