You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, can you check this:
I've had permanent error on method getAccessToken():
W/System.err( 420): java.lang.IllegalArgumentException: Response body is incorrect. Can't extract a token from an empty string
W/System.err( 420): at org.scribe.utils.Preconditions.check(Preconditions.java:80)
W/System.err( 420): at org.scribe.utils.Preconditions.checkEmptyString(Preconditions.java:40)
W/System.err( 420): at org.scribe.extractors.TokenExtractorImpl.extract(TokenExtractorImpl.java:25)
W/System.err( 420): at org.scribe.oauth.OAuth10aServiceImpl.getAccessToken(OAuth10aServiceImpl.java:72)
I've been struggling with this error for 2 days, until has found that twitter4j is sending VERIFIER paramer in body. I have changed
//request.addOAuthParameter(OAuthConstants.VERIFIER, verifier.getValue());
to
request.addBodyParameter(OAuthConstants.VERIFIER, verifier.getValue());
and it finally it got working.
Can you check this out whether this is a bug?
The text was updated successfully, but these errors were encountered:
Hi, can you check this:
I've had permanent error on method getAccessToken():
W/System.err( 420): java.lang.IllegalArgumentException: Response body is incorrect. Can't extract a token from an empty string
W/System.err( 420): at org.scribe.utils.Preconditions.check(Preconditions.java:80)
W/System.err( 420): at org.scribe.utils.Preconditions.checkEmptyString(Preconditions.java:40)
W/System.err( 420): at org.scribe.extractors.TokenExtractorImpl.extract(TokenExtractorImpl.java:25)
W/System.err( 420): at org.scribe.oauth.OAuth10aServiceImpl.getAccessToken(OAuth10aServiceImpl.java:72)
I've been struggling with this error for 2 days, until has found that twitter4j is sending VERIFIER paramer in body. I have changed
//request.addOAuthParameter(OAuthConstants.VERIFIER, verifier.getValue());
to
request.addBodyParameter(OAuthConstants.VERIFIER, verifier.getValue());
and it finally it got working.
Can you check this out whether this is a bug?
The text was updated successfully, but these errors were encountered: