Comments (3)
According to Google's OAuth documentation, for installed applications you must
use anonymous/anonymous for the consumer key and secret. Specifying consumer
key and consumer only works for the web application running on the domain that
matches the consumer key. In your case, that would be "mydomain.com".
That said, please check the content of the error message by adding something
like this code:
try {
ReuseAuthTest1 authTest1 = new ReuseAuthTest1();
} catch (HttpResponseException e) {
System.out.println(e.response.parseAsString());
throw e;
}
If the error message does not clearly explain what the problem is, please file
a bug on http://code.google.com/p/gdata-issues/
Original comment by [email protected]
on 11 Oct 2010 at 12:30
- Changed state: ByDesign
from google-api-java-client.
Thanks [email protected]
IT works perfectly now, and the tip of
"System.out.println(e.response.parseAsString());" shows the error message much
more clear.
Thanks again..!!
Original comment by [email protected]
on 12 Oct 2010 at 1:07
from google-api-java-client.
Original comment by [email protected]
on 21 Oct 2010 at 3:11
- Added labels: Type-Sample
from google-api-java-client.
Related Issues (20)
- Method Credential.refreshToken calls TokenResponseException.from which throws NullPointerException HOT 10
- teste HOT 1
- Drive.Files.Get getMediaHttpDownloader() returns null HOT 1
- NullPointerException if invalid client authentification HOT 2
- REST XML client HOT 1
- Contacts API HOT 1
- Working sample for Android HOT 1
- Vacation responder for personal gmail HOT 1
- google translate api v2 sample HOT 1
- 404 Error while accessing https://www.googleapis.com/oauth2/v1/certs HOT 4
- https://www.googleapis.com/oauth2/v1/certs does't working 404 HOT 1
- The signature of com.google.api.client.util.Data#nullOf is incorrect. HOT 2
- Return the full sized images with the Google Play Developer API HOT 1
- Only require a context-sensitive subset of permissions for Service Accounts HOT 6
- Gradle should use https:// instead of http:// HOT 3
- java.lang.IllegalArgumentException: key expires_in HOT 1
- sort order for youtube video search results does not work as exoected HOT 1
- NoClassFound HOT 1
- java.lang.NoSuchMethodError: com.google.api.client.googleapis.auth.oauth2.GoogleCredential$Builder.setServiceAccountScopes(Ljava/lang/Iterable; HOT 2
- Gmail Api Potential memory leak in com.google.api.client.util.escape.Platform HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-api-java-client.