As mentioned above picture, I should get these headers in response when I receive 429, but I'm not getting these headers.
Here are the status code and response headers that I'm getting:
'strict-transport-security': 'max-age=315360000; includeSubDomains; preload',
date: 'Tue, 06 Apr 2021 12:03:12 GMT',
'x-xss-protection': '1; mode=block',
'expect-ct': 'report-uri="https://web-security-reports.services.atlassian.com/expect-ct-report/global-proxy", enforce, max-age=86400',
Hi @Lalit Kumar
Sorry to hear about this problem. However I believe that the documentation you are referring to here is for our Jira Server/Data Center editions as seen in https://confluence.atlassian.com/adminjiraserver/improving-instance-stability-with-rate-limiting-983794911.html
However this Community posts makes it appear that you might be using Jira Cloud instead. For Jira Cloud, we have documented the rate limit behavior a little differently over in https://developer.atlassian.com/cloud/jira/platform/rate-limiting/ in that page the exact wording is
429responses may be accompanied by
Retry-Afterindicates how many seconds the app must wait before reissuing the request. If you reissue the request before the retry period expires, the request will fail and return the same or longer
X-RateLimit-Resetindicates the date time when you can retry the request. It’s provided in the format:
5XXerrors are accompanied by a
Retry-Afterheader. For example, a
503response may be returned when a resource limit has been reached. While these are not rate limit responses, they can be handled with similar logic as outlined below.
As such, not all the same headers are included in the Cloud REST response and not all 429 responses will include a retry-after in the response Cloud.
The rate limiting in Cloud is continuously evolving based on numerous factors. Hence you are not as likely to get this specific header in Cloud as you might get back from a Server/Data Center edition. Instead our Cloud rate limiting documentation suggests applying a jitter to the delay and using an exponential backoff strategy if you are creating an app to make such REST API calls.
I hope this helps.
Calling all Confluence Cloud Admins! We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...
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