| Issue 703: | Invalid JSON data returned for maintenance message | |
| 4 people starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
What's the problem you're seeing?
When Twitter went down for maintenance, the following JSON response was returned:
{"request":NULL,"error":"Twitter is down for maintenance. It will return in about an hour."}
According to the JSON spec, "A value can be a string in double quotes, or a number, or true or
false or null, or an object or an array."
The strict parser I am using does not recognize "NULL" (it does recognize "null".)
What was the request you made (if applicable)? Be sure to obscure your
Basic Auth headers.
http://twitter.com/statuses/user_timeline.json
What was the full HTTP response, with headers (if applicable)
HTTP/1.1 200 OK
Date: Tue, 16 Jun 2009 21:03:13 GMT
Server: Apache
Last-Modified: Tue, 16 Jun 2009 20:58:40 GMT
Accept-Ranges: bytes
Content-Length: 93
Cache-Control: max-age=300
Expires: Tue, 16 Jun 2009 21:08:13 GMT
Vary: Accept-Encoding
Connection: close
Content-Type: application/json; charset=utf-8
{"request":NULL,"error":"Twitter is down for maintenance. It will return in about an hour."}
|
||||||||||||
,
Jun 17, 2009
Added this fix to another branch I have open.
Status: Accepted
Owner: m...@twitter.com Labels: Component-REST |
|||||||||||||
,
Jun 17, 2009
Issue 564 has been merged into this issue. |
|||||||||||||
,
Jun 24, 2009
This has been fixed and reviewed and is in the queue of things to be deployed. |
|||||||||||||
,
Jun 25, 2009
This has now been fixed and should be correct for future maintenance messages.
Status: Fixed
|
|||||||||||||
|
|
|||||||||||||