update always returns invalid response

2 views
Skip to first unread message

sugree

unread,
Jul 2, 2008, 3:16:53 AM7/2/08
to Twitter Development Talk
The status is 200 OK but content is invalid for both json and xml.

Status: 500 Internal Server Error
Content-Type: text/html

<html><body><h1>500 Internal Server Error</h1></body></html>

Am I alone?

twibble

unread,
Jul 2, 2008, 3:59:33 AM7/2/08
to Twitter Development Talk
no, same here:
thilo$ curl --trace-ascii out -basic -u twibbletest -d status="123 öäü
+ + + t3" http://twitter.com/statuses/update.json
Enter host password for user 'twibbletest':
Status: 500 Internal Server Error
Content-Type: text/html

However, the tweet seems to get through.

Best,
http://twitter.com/twibble

Alan

unread,
Jul 2, 2008, 4:15:44 AM7/2/08
to Twitter Development Talk
Same here! We use the twitter rails gem, and it's blowing up when
posting to twitter because it tries to parse the content as XML.

Hope this gets fixed soon!
Reply all
Reply to author
Forward
0 new messages