twitter4j.TwitterException: api.twitter.com

nabble.com | 4 months ago
  1. 0

    getFriendsStatuses error

    Google Groups | 5 years ago | priscilaccl
    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. {"error":"Rate limit exceeded. Clients may not make more than 150 requests per hour.","request":"\/1\/statuses\/followers.json? screen_name=XXXX&cursor=-1"}
  2. 0

    In version 2.2.3, exception is swallowed

    Google Groups | 5 years ago | Sangdol
    twitter4j.TwitterException: 401:Authentication credentials were missing or incorrect. error - Invalid / expired Token request - /1/account/verify_credentials.json?include_entities=false
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Exception while reading next element from TwitterStream

    Google Groups | 7 years ago | ikabiljo
    twitter4j.TwitterException: JSONObject["bounding_box"] is not a JSONObject.: {"id":"ab0021e41cea2727","place_type":"neighborhood","bounding_box":null,"name":"Bowery","country_code":"US","url":"http:// api.twitter.com/1/geo/id/ab0021e41cea2727.json","full_name":"Bowery, New York","country":""}
  5. 0

    Twitter4J exception on verifyCredentials

    Stack Overflow | 6 years ago | rhinds
    twitter4j.TwitterException: https://api.twitter.com/1/account/verify_credentials.json 08-31 20:36:59.094: WARN/System.err(454): at twitter4j.http.HttpClient.request(HttpClient.java:333) 08-31 20:36:59.094: WARN/System.err(454): at twitter4j.http.HttpClientWrapper.request(HttpClientWrapper.java:66) 08-31 20:36:59.094: WARN/System.err(454): at twitter4j.http.HttpClientWrapper.get(HttpClientWrapper.java:88) 08-31 20:36:59.094: WARN/System.err(454): at twitter4j.Twitter.verifyCredentials(Twitter.java:1025) at com.tmm.android.soundbiter.TwitterInterface.<init>(TwitterInterface.java:65)

    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

      api.twitter.com

      at twitter4j.internal.http.HttpClientImpl.request()
    2. twitter4j.internal.http
      HttpClientWrapper.get
      1. twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:177)[na:na]
      2. twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:61)[na:na]
      3. twitter4j.internal.http.HttpClientWrapper.get(HttpClientWrapper.java:81)[na:na]
      3 frames
    3. Twitter4j
      TwitterImpl.getMentionsTimeline
      1. twitter4j.TwitterImpl.get(TwitterImpl.java:1929)[na:na]
      2. twitter4j.TwitterImpl.getMentionsTimeline(TwitterImpl.java:111)[na:na]
      2 frames
    4. Camel :: Twitter
      TwitterConsumerPolling.poll
      1. org.apache.camel.component.twitter.consumer.timeline.MentionsConsumer.pollConsume(MentionsConsumer.java:38)[na:na]
      2. org.apache.camel.component.twitter.consumer.TwitterConsumerPolling.poll(TwitterConsumerPolling.java:65)[na:na]
      2 frames
    5. Camel :: Core
      ScheduledPollConsumer.run
      1. org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:187)[bundlefile:2.12.2-sap-01-SNAPSHOT]
      2. org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:114)[bundlefile:2.12.2-sap-01-SNAPSHOT]
      2 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[na:1.7.0_17]
      2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)[na:1.7.0_17]
      3. java.util.concurrent.FutureTask.runAndReset(Unknown Source)[na:1.7.0_17]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)[na:1.7.0_17]
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)[na:1.7.0_17]
      6. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.7.0_17]
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.7.0_17]
      8. java.lang.Thread.run(Unknown Source)[na:1.7.0_17]
      8 frames