Why this error message occur?


#1

I’m using the twitter4j and I’ll use the streaming API. But, I can’t get the certification!
please help me after read this. Thank you.

The error message :

401:Authentication credentials (http://dev.twitter.com/pages/auth) were missing or incorrect. Ensure that you have set valid conumer key/secret, access token/secret, and the system clock in in sync.
error - Could not authenticate with OAuth.
request - /1/statuses/update.json
Relevant discussions can be on the Internet at:
http://www.google.co.jp/search?q=b2b52c28 or
http://www.google.co.jp/search?q=1ca88b7a
TwitterException{exceptionCode=[b2b52c28-1ca88b7a], statusCode=401, retryAfter=-1, rateLimitStatus=null, featureSpecificRateLimitStatus=null, version=2.2.4-SNAPSHOT(build: bd4d7d18b7e2daa98f0509351513cc01082ecd57)}
at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:189)
at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:65)
at twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:102)
at twitter4j.TwitterImpl.post(TwitterImpl.java:1907)
at twitter4j.TwitterImpl.updateStatus(TwitterImpl.java:459)
at kr.ac.korea.sbl.surveil.sns.auth.TwitterOAuthAuthentification.getAuthToken(TwitterOAuthAuthentification.java:36)
at TestAuthentification.main(TestAuthentification.java:13)


#2

I am also facing the same problem…


#3

Start with [node:205]. Also, the twitter4j mailing list is also a great place to get support with twitter4j: http://groups.google.com/group/twitter4j

Make sure that you’ve entered your keys correctly, that your timestamps are in UTC and within a few minutes of ours.