Hi Andrew,

This is a known issue right now -- we've had a bugfix waiting in the wings
for this but it hasn't been able to deploy yet. There's a particular kind of
tweet condition that when extracted into an entity results in an error.

This is the right place to post bugs like this, as well as our issue
tracker: http://code.google.com/p/twitter-api/issues/list

Taylor

On Fri, Jun 18, 2010 at 7:13 AM, Andrew <andrew.don...@gmail.com> wrote:

> Gentlefolk,
>
> I use the new included_entities param in my timeline requests. Last
> night, probably due to Twitter load problems, Twitter started
> returning http error 500 from all requests. Removing included_entities
> from the request, results in a normal, successful response. As Twitter
> doesn't tell me the reason for the error (see attached error log),
> this is suboptimal behavior. I would much prefer that Twitter just not
> include the entities in the response than deny my access to the user's
> home timeline.
>
> Andrew
>
> P.S. is there a better place to report this issue?
>
> Here are error logs that show the request and response. The OAuth
> secrets have been occluded.
>
>
> 2010-06-18 08:58:33.119 Chatter[1878:207] -[RESTServer
> getPath:withParams:response:] (502)
> Description: {
>    baseURL = "https://api.twitter.com/1";;
>    headers =     {
>        Accept =         {(
>            "application/json"
>        )};
>        Authorization =         {
>            OAuth =             {
>                accessSecret =
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;
>                accessToken = "882801-
> ZGRWXKgJnpd6B8RCpkoIWhelxkifnYEgR36yuNWUV7A";
>                consumerSecret =
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;
>                consumerToken = fB7anK4Yb2uczLjBmrmi8g;
>            };
>        };
>        "User-Agent" = "c...@tter/1.0";
>        "X-Twitter-Client" = "c...@tter";
>        "X-Twitter-Client-URL" = "http://chatterOnline.net/";;
>        "X-Twitter-Client-Version" = "1.0";
>    };
>    httpMethod = GET;
>    params =     {
>        count = 200;
>        "include_entities" = true;
>        "user_id" = 882801;
>    };
>    path = "/statuses/home_timeline.json";
> }
>
> 2010-06-18 08:58:37.555 Chatter[1878:207] -[LoadHomeTimeline
> getRESTResponse:error:] (268)
> Description: {
>    NSLocalizedDescription = "internal server error";
>    NSLocalizedFailureReason = "HTTP Error: 500";
>    headers =     {
>        "Cache-Control" = "no-cache, no-store, must-revalidate, pre-
> check=0, post-check=0";
>        Connection = close;
>        "Content-Encoding" = gzip;
>        "Content-Length" = 1729;
>        "Content-Type" = "application/json; charset=utf-8";
>        Date = "Fri, 18 Jun 2010 13:58:37 GMT";
>        Expires = "Tue, 31 Mar 1981 05:00:00 GMT";
>        "Last-Modified" = "Fri, 18 Jun 2010 13:58:34 GMT";
>        Pragma = "no-cache";
>        Server = hi;
>        "Set-Cookie" = "lang=en; path=/, lang=en; path=/,
> _twitter_sess=BAh7CToPY3JlYXRlZF9hdGwrCKl2WkspAToRdHJhbnNfcHJvbXB0MDoHaWQi
> %250AJTcyZmVlMWFiYTZiN2Q0MmJkOTk5OTlmYjRlNWY2MzljIgpmbGFzaElDOidB
>
> %250AY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--3c003d26aa827fe798fb09f1b3ad715e2a8e4bd0;
> domain=.twitter.com; path=/";
>        Status = "500 Internal Server Error";
>        Vary = "Accept-Encoding";
>        "X-Ratelimit-Class" = "api_whitelisted";
>        "X-Ratelimit-Limit" = 20000;
>        "X-Ratelimit-Remaining" = 19979;
>        "X-Ratelimit-Reset" = 1276872636;
>        "X-Revision" = DEV;
>        "X-Transaction" = "1276869514-95398-5542";
>    };
>    url = "https://api.twitter.com/1/statuses/home_timeline.json?
> count=200&include_entities=true&user_id=882801";
> }
>

Reply via email to