I ran some tests from our RightScale instances and sent the guys at
a...@twitter.com some curl traces and tcpdump data that I was able to
It does appear to happen when some period of time has lagged and
twitter isn't hit. But after a few requests, the problem no longer
On Sep 9, 9:15 am, Naveen A <knig...@gmail.com> wrote:
> This sounds like the same issue many of us have been reporting where
> we get back HTML data instead of the expected JSON or XML response...
> I expect if you added logging to collect the raw response you would
> find it looks like the responses detailed in the tickets below... We
> get a similar "parsing" error from our app when this HTML response
> comes back from twitter. As you are also running on a mobile device it
> will be hard for you to generate the information twitter is requesting
> to correct this problem.. If you find a way to collect all the
> information they are asking for, please share it with us so that we
> can all provide as much data as they need.
> Twitter team has been asking for the IP address connection from, the
> account(s) used, a curl(1) -vvv trace, and a tcpdump of the failure to
> be sent to a...@twitter.com.
> --Naveen A.
> On Sep 9, 12:02 pm, Craig Hockenberry <craig.hockenbe...@gmail.com>
> > We're seeing a weird error occur with the API in the past few days:
> > every so often, users will get malformed JSON data. From our app, the
> > following message is displayed:
> > <http://files.iconfactory.net/craig/bugs/TwitterYAJL.jpg>
> > That error occurs when the JSON data can't be parsed.
> > I'd like to create an issue on Google Code, but this problem is
> > extremely intermittent. Personally, I only saw it a few times when I
> > was using the Search API. By the time I was able to debug the data
> > being returned by the connection, the results had returned to normal.
> > Without any debugging info, the problem felt like I was temporarily on
> > a server that producing bad data. After a few refreshes, I found my
> > way to a server that produced good data.
> > I'd like to know if anyone else has been seeing malformed JSON or if
> > there's any way to reliably reproduce the bad results.
> > Thanks!
> > -ch