Calling Status Page API with the below details, getting "error": "Too many requests, enhance your calm", Status Code :420. Do i need to add any additional parameters in headers.
Using Get Request with Url:
https://api.statuspage.io/v1/pages/<PageId>/incidents/unresolved/
Headers:
Content-Type: application/json
Authorization:Bearer Organization API keys
Hi Ravindranath,
Hope you're well and safe.
It looks like you may be hitting the rate limit for 'manage API'.
As mentioned in one of our API documents, The Manage API is limited to 60 requests per minute. It's worth checking if you are making more than 60 API calls per minute and limiting it accordingly.
Here's a link to our API document that talks about different types of API and about rate limits: https://support.atlassian.com/statuspage/docs/what-are-the-different-apis-under-statuspage/
Hope this helps!
Thanks,
Ashish Shetty J
Do i need to add any additional parameters in API Headers to fetch the result. Can you please suggest any options to display.
Thanks,
Ravindranath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravindranath,
You are receiving the above-mentioned error because the number of API calls/requests you are making is exceeding the current rate limit. The current rate limit is 60 requests/minute.
You can avoid this error and fetch the desired result by modifying your script to regulate/limit the number of calls made to less than 60 per minute.
Hope this helps! :)
Thanks,
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.