Bug #904
Twitterizer doesn't support error code 88 "Rate limit exceeded"
Status: | New | Start: | 11/14/2013 | |
Priority: | Normal | Due date: | ||
Assigned to: | Mirco Bauer | % Done: | 0% |
|
Category: | Engine Twitter | |||
Target version: | 0.10.1 | |||
Complexity: | Found in Version: | master |
||
Votes: | 0 |
Description
It thinks it's a server-load problem when it is not. From the log:
System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0
at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0
2013-11-14 16:25:09,761 [Threadpool worker] ERROR Smuxi.Engine.TwitterProtocolManager - CheckResponse(): RequestUrl: http://api.twitter.com/1.1/statuses/user_timeline.json Result: Unknown Content:
{"errors":[{"message":"Rate limit exceeded","code":88}]}
It is pretty shit that Twitter returns a 404 for this error, but anyway Twitterizer should try to parse it and throw a RateLimitExceeded() exception.
The twitter backend should later probably just notify the user and queue the command for retry, but that's maybe for another bug.
History
Updated by Mirco Bauer 4012 days ago
- Target version set to 26
Updated by Mirco Bauer 3989 days ago
- Target version changed from 26 to 0.10.1