twitter4j.TwitterException: Twitter returned a non-XML response:<?xml version="1.0" encoding="UTF-8"?> <statuses type="array"> <status> .... <!-- removed for brevity --> </status> </statuses>

Google Groups | Twitterati | 8 years ago
  1. 0

    Concurrency Issue with Twitterati

    Google Groups | 8 years ago | Twitterati
    twitter4j.TwitterException: Twitter returned a non-XML response:<?xml version="1.0" encoding="UTF-8"?> <statuses type="array"> <status> .... <!-- removed for brevity --> </status> </statuses>
  2. 0

    why Twitter cannot handle multiple request in 1 hour?

    Stack Overflow | 6 years ago | StackOverFlow
    twitter4j.TwitterException: 400:The request was invalid. An accompanying error message will explain why. This is the status code will be returned during rate limiting.</p> <pre><code>&lt; ?xml version="1.0" encoding="UTF-8"?&gt; &lt; hash&gt; &lt; request&gt;/statuses/followers.xml&lt; /request&gt; &lt; error&gt; Rate limit exceeded. Clients may not make more than 30 requests per hour.&lt; /error&gt; &lt; /hash&gt;
  3. 0

    Unable to follow any user on twitter using the twitter4j enableNotification api

    Google Groups | 7 years ago | crazybob
    twitter4j.TwitterException: 403:The request is understood, but it has been refused. An accompanying error message will explain why. <?xml version="1.0" encoding="UTF-8"?> <hash> <request>/notifications/follow/nyappydana.xml</request> <error>There was a problem following the specified user.</error> </hash>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Basic authentication is not supported

    Google Groups | 6 years ago | Felipe Juarez
    twitter4j.TwitterException: 401:Authentication credentials were missing or incorrect. <?xml version="1.0" encoding="UTF-8"?> <hash> <request>/account/verify_credentials.xml</request> <error>Basic authentication has been disabled</error> </hash>

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. twitter4j.TwitterException

      Twitter returned a non-XML response:<?xml version="1.0" encoding="UTF-8"?> <statuses type="array"> <status> .... <!-- removed for brevity --> </status> </statuses>

      at twitter4j.http.Response.asDocument()
    2. twitter4j.http
      Response.asDocument
      1. twitter4j.http.Response.asDocument(Response.java:129)
      1 frame
    3. Twitter4j
      Twitter.getFriendsTimeline
      1. twitter4j.Status.constructStatuses(Status.java:206)
      2. twitter4j.Twitter.getFriendsTimeline(Twitter.java:797)
      2 frames