com.google.gdata.util.AuthenticationException: 403: OK at
com.google.gdata.client.http.AuthSubUtil.exchangeForSessionToken(AuthSubUtil.java:
309) at
com.google.gdata.client.http.AuthSubUtil.exchangeForSessionToken(AuthSubUtil.java:
275)

I get this when I try to get a sessiontoken from google docs/
spreadsheets

Here's my code for getting the request URL:

String requestUrl  = AuthSubUtil.getRequestUrl(CALLBACK,
SPREADSHEET_SCOPE+" "+DOCS_SCOPE, true, true);


Here's my code for retrieving a session token:

String onetimeUseToken =
AuthSubUtil.getTokenFromReply(request.getQueryString());
String sessionToken =
AuthSubUtil.exchangeForSessionToken(URLDecoder.decode(onetimeUseToken,
"UTF-8"), null);

I had a problem with this before and was resolved by using the
URLDecoder.
I'm having the same problem again. It worked for months and the
problem just came back recently.

my app is on http://projectrix-development.appspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to