java.lang.IllegalArgumentException: no JSON input found

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 Stack Overflow by user1479604
, 1 year ago
via Stack Overflow by james.lorenzen
, 1 year ago
via Stack Overflow by NoisyFlasher
, 1 year ago
via Stack Overflow by Nicolas Cailloux
, 9 months ago
java.lang.IllegalArgumentException: no JSON input found
at com.google.api.client.repackaged.com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
at com.google.api.client.util.Preconditions.checkArgument(Preconditions.java:49)
at com.google.api.client.json.JsonParser.startParsing(JsonParser.java:222)
at com.google.api.client.json.JsonParser.parse(JsonParser.java:379)
at com.google.api.client.json.JsonParser.parse(JsonParser.java:354)
at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:87)
at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:81)
at com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:307)
at com.google.api.client.auth.oauth2.Credential.executeRefreshToken(Credential.java:570)
at com.uber.sdk.rides.auth.CredentialsAuthenticator.refreshAndSign(CredentialsAuthenticator.java:97)
at com.uber.sdk.rides.auth.CredentialsAuthenticator.reauth(CredentialsAuthenticator.java:77)
at com.uber.sdk.rides.auth.CredentialsAuthenticator.refresh(CredentialsAuthenticator.java:58)
at com.uber.sdk.rides.client.internal.RefreshAuthenticator.authenticate(RefreshAuthenticator.java:46)
at okhttp3.internal.http.HttpEngine.followUpRequest(HttpEngine.java:893)
at okhttp3.RealCall.getResponse(RealCall.java:276)
at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198)
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:142)
at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
at com.uber.sdk.rides.client.internal.ApiInterceptor.intercept(ApiInterceptor.java:57)
at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160)
at okhttp3.RealCall.access$100(RealCall.java:30)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:127)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)

Users with the same issue

Once, 2 weeks ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
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.