Hello,
I want to know on when will the rate limit of jira rest api exceeds.
for example we have 10000 users using our app, how many requests can be made in 1 second or minute, how does this rate limiting exactly works ?
Thanks
What @Ismael Jimoh mentioned is valid for Jira, here is the corresponding Confluence developer documentation: https://developer.atlassian.com/cloud/confluence/rate-limiting/
Theory: As you will see, it will return HTTP response headers with hints.
Reality: In our experience, certain REST API end-points have no rate limits, they simply fail when overloaded. Therefore I wouldn't be surprised if you don't receive those header, but your request doesn't succeed with 200...
Hello @Aron Gombas _Midori_
Are you able to advise of the specific Confluence endpoints that fail 'silently' and don't return a 429
response code if the rate limit is reached?
It's good coding practice to check for 500
series errors in responses, as they often indicate you've reached a resource limit, which can easily be mistaken as a 'failure':
Some transient
5XX
errors are accompanied by aRetry-After
header. For example, a503
response may be returned when a resource limit is reached. While these are not rate limit responses, they can be handled with similar logic as outlined below.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My latest memory is that the content property "write" can lead to problems if you bulk-write content properties to a large number of contents in a short time window.
The REST API end-point returns with success or maybe with sporadic errors, but the database powering Confluence may have difficulties with handling the load. The expectation would be that rate limiting rejects the requests if they are overwhelming Confluence. (Or, if the rate limiter doesn't reject them, then I would assume that they could be handled without any side-effect.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can learn more about api limits here: https://developer.atlassian.com/cloud/jira/platform/rate-limiting/
I am hoping it answers your question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ismael Jimoh in the document it is mentioned that the "X-RateLimit-Limit ", will be there in the headers of the response, but could'nt see that, can you please help me by saying that from where i can get X-RateLimit .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This will be returned when you make your call. As mentioned in the document, if you get a 429 response, typically, you should see the x-ratelimit-limit.
Also note what @Aron Gombas _Midori_ mentioned. I haven’t run into many issues where I exceeded this but if this isn’t thrown all the time then it’ll be hard to say.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.