org.scribe.exceptions.OAuthException: Response body is incorrect. Can't extract a token from this: 'error=bad_verification_code&error_description=The+code+passed+is+incorrect+or+expired.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fv3%2Foauth%2F%23bad-verification-code'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by zzzeek
, 1 year ago
Response body is incorrect. Can't extract a token from this: 'error=bad_verification_code&error_description=The+code+passed+is+incorrect+or+expired.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fv3%2Foauth%2F%23bad-verification-code'
via GitHub by nicholaschum
, 1 year ago
Response body is incorrect. Can't extract a token from this: 'error=bad_verification_code&error_description=The+code+passed+is+incorrect+or+expired.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fv3%2Foauth%2F%23bad-verification-code'
via GitHub by saschaarthur
, 1 year ago
Response body is incorrect. Can't extract a token from this: '{"error":{"message":"This authorization code has expired.","type":"OAuthException","code":100}}'
via Stack Overflow by ParagFlume
, 7 months ago
Response body is incorrect. Can't extract a token from this: '{"access_token":"EAANBWbI9ja8BAPTTexbSJ6dawzlXLqaECT18p7dvm2HZUJsL4CnGE92NZBJPlZBGe3HAnersJ6LvI52G6kIacCoTRcn4hOKZB5ZAtcH7v8F9h9dF6wzYsUySNIH4tEzEbY8AEqTCetDVnDixx6QBizCm1Obviey0lAsr9Hn6wtVwZDZD","token_type":"bearer","expires_in":5183999}'
via Stack Overflow by Hunt
, 2 years ago
Response body is incorrect. Can't extract a token from this: '{"error":{"message":"Invalid verification code format.","type":"OAuthException"}}'
via itquestionz.com by Unknown author, 1 year ago
Response body is incorrect. Can't extract a token from this: '{"error":{"message":"Invalid verification code format.","type":"OAuthException"}}'
org.scribe.exceptions.OAuthException: Response body is incorrect. Can't extract a token from this: 'error=bad_verification_code&error_description=The+code+passed+is+incorrect+or+expired.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fv3%2Foauth%2F%23bad-verification-code'
at org.scribe.extractors.TokenExtractor20Impl.extract(TokenExtractor20Impl.java:32)
at com.googlesource.gerrit.plugins.oauth.GitHubOAuthService.getAccessToken(GitHubOAuthService.java:116)
at com.google.gerrit.httpd.auth.oauth.OAuthSession.login(OAuthSession.java:101)
at com.google.gerrit.httpd.auth.oauth.OAuthWebFilter.doFilter(OAuthWebFilter.java:109)
at com.google.gerrit.httpd.RequireSslFilter.doFilter(RequireSslFilter.java:77)
at com.google.gwtexpui.server.CacheControlFilter.doFilter(CacheControlFilter.java:73)
at com.google.gerrit.httpd.RunAsFilter.doFilter(RunAsFilter.java:122)
at com.google.gerrit.httpd.RequestMetricsFilter.doFilter(RequestMetricsFilter.java:60)
at com.google.gerrit.httpd.AllRequestFilter$FilterProxy$1.doFilter(AllRequestFilter.java:136)
at com.google.gerrit.httpd.AllRequestFilter$FilterProxy.doFilter(AllRequestFilter.java:105)
at com.google.gerrit.httpd.RequestContextFilter.doFilter(RequestContextFilter.java:75)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.