Update error code to 429 - (to catch rate limit exceptions) #143
No reviewers
Labels
No labels
Bug
Enhancement
Feature Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: code/twython#143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "update_error_code"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Twitter Api 1.1 always returns the error_code: 429, when the rate limit is exceeded. This is different from the previous version where a variety of 400 response code were being returned.
https://dev.twitter.com/docs/rate-limiting/1.1
From the page:
When an application exceeds the rate limit for a given API endpoint, the Twitter API will now return an HTTP 429 “Too Many Requests” response code instead of the variety of codes you would find across the v1's Search and REST APIs.
Thanks!