twitter4j.TwitterException: api.twitter.com

nabble.com | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 6 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

    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