Hey,

After the change you suggested I'm raising now a 400 Bad Request, i think
the problem is i'm missing an attribute =\ i'll dig a little deeper however
it would be great if google could create a raw sample :P



Here is the output raised by the exception.

https://www.google.com/accounts/OAuthGetRequestToken?scope=https://apps-apis.google.com/a/feeds/&xoauth_displayname=Google-API-JAVA-CLIENT-SAMPLE
Exception in thread "main" com.google.api.client.http.HttpResponseException:
400 Bad Request
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:380)
 at
com.google.api.client.auth.oauth.AbstractOAuthGetToken.execute(AbstractOAuthGetToken.java:73)
at GroupSettingTests.main(GroupSettingTests.java:31)




Alexandre Jacquet

Google Apps Deployment Specialst
São Paulo | SP | Brasil
Tel.: 55 11 8064 6882





On Tue, Jun 14, 2011 at 8:55 PM, Aaron <[email protected]> wrote:

> Alexandre-
>
> I'm not sure what you have behind "Util.AUTH_TRANSPORT" but I'm guessing
> that that's where your problem lies. My guess is that somehow that is still
> null. If you just set it equal to "new NetHttpTransport()" do you still get
> the null pointer exception?
>
>
> -Aaron
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Apps Domain Information and Management APIs" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-apps-mgmt-apis/-/j1w45BEd8wQJ.
>
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to