Statuses/destroy is returning 400 even though tweet is deleted sucessfully

17 views
Skip to first unread message

deepikagupta

unread,
Aug 19, 2009, 6:08:44 AM8/19/09
to Twitter Development Talk
Hi,

I am facing an issue with statuses/destroy API call. It returns 400
(bad request) even though mentioned tweet id is delered sucessfully.

The method was working fine few days back but started gicing trouble
recently.

Anyone having same trouble? Is anything wrong with this API call?

srikanth reddy

unread,
Aug 19, 2009, 9:18:21 AM8/19/09
to twitter-deve...@googlegroups.com
yes i too encountered this (both status/destroy and direct_messages/destroy are giving 400 error but the status gets deleted successfully. The response text says something like "somehow we could not delete this tweet."

Tom Nichols

unread,
Aug 26, 2009, 2:41:10 PM8/26/09
to Twitter Development Talk
+1 - I am experiencing the same problem.

I'm running Twitter API requests as part of a unit test for my code
(HTTPBuilder- http://groovy.codehaus.org/modules/http-builder/). This
has always worked fine up until a couple weeks ago. Looks like there
is a bug report here:
http://code.google.com/p/twitter-api/issues/detail?id=949

It might have something to do with the time between when the tweet is
posted and deleted -- at least in my case, my unit test creates the
tweet and deletes it just a second or two later. It could have to do
with cluster propagation -- i.e. the original post hasn't been
propagated to the node which is handling the 'delete.' I'm just
speculating of course, but before this error cropped up, I was seeing
a different behavior where sometimes the delete request would return
successfully, but my tweet would remain visible. This is probably a
similar root cause, except the delete occurs while the post is still
propagating, and makes it to a cluster node after the delete
propagates or something. I tried putting a delay of ~10s between the
post and delete, and it did not seem to help...

On Aug 19, 9:18 am, srikanth reddy <srikanth.yara...@gmail.com> wrote:
> yes i too encountered this (both status/destroy and direct_messages/destroy
> are giving 400 error but the status gets deleted successfully. The response
> text says something like "somehow we could not delete this tweet."
>

Naveen Ayyagari

unread,
Aug 27, 2009, 5:03:09 PM8/27/09
to twitter-deve...@googlegroups.com
I am seeing this issue as well. Users are reporting it very frequently
now...

At first I thought it was a bug in the client, but it happens every
time I try to delete a status right now, and it has become one of the
highest reported bugs in out app.

Twitter reports 400 with the JSON below, but the message is
successfully deleted.
{
"request":"\/statuses\/destroy\/3587663087.json",
"error":"We could not delete that status for some reason."
}

Looking at this thread it seems to be a problem for at least a week,
can we get some kind of official nod that the issue is at least on the
Twitter teams radar?

darasion

unread,
Aug 29, 2009, 4:11:51 PM8/29/09
to Twitter Development Talk
I have the same problem right now.

Exactly as above all.

On Aug 28, 5:03 am, Naveen Ayyagari <knig...@gmail.com> wrote:
> I am seeing this issue as well. Users are reporting it very frequently  
> now...
>
> At first I thought it was a bug in the client, but it happens every  
> time I try to delete a status right now, and it has become one of the  
> highest reported bugs in out app.
>
> Twitter reports 400 with the JSON below, but the message is  
> successfully deleted.
>   {
>         "request":"\/statuses\/destroy\/3587663087.json",
>         "error":"We could not delete that status for some reason."
>
> }
>
> Looking at this thread it seems to be a problem for at least a week,  
> can we get some kind of official nod that the issue is at least on the  
> Twitter teams radar?
>
> On Aug 26, 2009, at 2:41 PM, Tom Nichols wrote:
>
>
>
> > +1 - I am experiencing the same problem.
>
> > I'm running Twitter API requests as part of a unit test for my code
> > (HTTPBuilder-http://groovy.codehaus.org/modules/http-builder/).  This
Reply all
Reply to author
Forward
0 new messages