Receiving 500 When Retrieving Tweet Preview



We are receiving a 500 error when requesting the following tweet preview…


Please let me know if you need any other information.



@tboilard: It looks like a 404 because the Tweet doesn’t exists.

$ twurl -H "/1.1/statuses/show.json?id=562034666140872704" | jq
  "errors": [
      "code": 34,
      "message": "Sorry, that page does not exist."


@tboilard: Did a bit more digging and the reason for the "Sorry, that page does not exist." error message is that the account (@handle) has been deactivated.


Thank you


Glad to help. Thanks, @tboilard!


Curious, what is the query used to know whether the @handle has been deactivated?