org.scribe.exceptions.OAuthException: Cannot extract an acces token. Response was: { "error" : "invalid_request", "error_description" : "OAuth 2 parameters can only have a single value: grant_type" }

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

Solutions on the web

via GitHub by jpitt42
, 1 year ago
Cannot extract an acces token. Response was: { "error" : "invalid_request", "error_description" : "OAuth 2 parameters can only have a single value: grant_type" }
via Google Groups by Rangaraj R, 1 year ago
Cannot extract an acces token. Response was: { "error" : "invalid_request", "error_description" : "OAuth 2 parameters can only have a single value: grant_type" }
via GitHub by westhusing
, 1 year ago
Cannot extract an acces token. Response was: { "error" : "invalid_request", "error_description" : "OAuth 2 parameters can only have a single value: grant_type" }
via GitHub by i-chess
, 2 years ago
Cannot extract an acces token. Response was: { "error" : "invalid_grant", "error_description" : "Code was already redeemed." }
org.scribe.exceptions.OAuthException: Cannot extract an acces token. Response was: { "error" : "invalid_request", "error_description" : "OAuth 2 parameters can only have a single value: grant_type" }
at com.googlesource.gerrit.plugins.oauth.Google2Api$GoogleJsonTokenExtractor.extract(Google2Api.java:163)
at com.googlesource.gerrit.plugins.oauth.Google2Api$GoogleOAuthService.getAccessToken(Google2Api.java:112)
at com.googlesource.gerrit.plugins.oauth.GoogleOAuthService.getAccessToken(GoogleOAuthService.java:221)
at com.google.gerrit.httpd.auth.oauth.OAuthSession.login(OAuthSession.java:98)
at com.google.gerrit.httpd.auth.oauth.OAuthWebFilter.doFilter(OAuthWebFilter.java:109)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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