Question: new error code: 'TOO_MANY_REQUESTS_PER_SECOND'
See original GitHub issueOverview
- Client ID: ip9RhUfCdeIaiXjHjtIMyg
- Issue type: question
- Summary: ‘TOO_MANY_REQUESTS_PER_SECOND’ but speed is the same as before
- Platform: Web
Description
I was collecting information about coffee shops around a chosen location to compare them and analyse neighbouring shops. For last couple of weeks I was collecting data without any issues. I rarely overstepped daily request limit, but because I needed to compare a lot of data really fast I had to use multiple parallel connections. I was making about 5 requests per second. Last week I started getting error message ‘TOO_MANY_REQUESTS_PER_SECOND’ and i can not get more than 1-2 requests per second. My code or internet speed has not changed. Could you tell me if this is an intended change?Also if it is is it a temporary change or a permanent one because I can not see any mention of it in Changelog or in Terms of Use?
More information
full error is: {‘error’: {‘code’: ‘TOO_MANY_REQUESTS_PER_SECOND’, ‘description’: ‘You have exceeded the queries-per-second limit for this endpoint. Try reducing the rate at which you make queries.’}}
Endpoint
/v3/businesses/search
Response
{
'error':
{
'code': 'TOO_MANY_REQUESTS_PER_SECOND',
'description': 'You have exceeded the queries-per-second limit for this endpoint. Try reducing the
rate at which you make queries.'
}
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
I have the same problem. It’s a pretty big problem, because I have to make more requests if we take into account that businesses count isn’t correct in some cases.
Examples of the errors when the quota is exceeded have been added to https://www.yelp.com/developers/documentation/v3/rate_limiting
Changelog entry: https://www.yelp.com/developers/v3/changelog#changelog-20180305