LoginSignup
1
1

More than 5 years have passed since last update.

Received authentication challenge is nullRelevan/Twitter4Jでログインに失敗する

Last updated at Posted at 2012-03-16

端末の時間設定が、実際の時間と大きくずれているため、Twitter認証に失敗している。
5分くらいのずれなら問題ないが、1時間くらいずれているとこのエラーが発生する。

Twitterサーバー側ではじかれるので、アプリ側ではこのエラーが出たときにユーザに警告するしかなさそう。

エラー:
E/twitter ( 3682): Received authentication challenge is nullRelevant discussions can be on the Internet at:
E/twitter ( 3682): http://www.google.co.jp/search?q=10f5ada3 or
E/twitter ( 3682): http://www.google.co.jp/search?q=dceba048
E/twitter ( 3682): TwitterException{exceptionCode=[10f5ada3-dceba048 b8c63e52-c088647f], statusCode=-1, retryAfter=-1, rateLimitStatus=null, featureSpecificRateLimitStatus=null, version=2.2.4}

参考:http://stackoverflow.com/questions/6129316/twitter4j-android-authentication-challenge-is-null-exception

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1