On Mon, Nov 11, 2013 at 9:13 AM, Marcel Ehrlitzer <[email protected]> wrote:
> 401 Unauthorized Invalid OAuth token > My log call is the following: > $_sdkDir --oauth2 [email protected] -n 1 request_logs $_appdir $_file > I already tried to renew the oauth token with no success. > > I note you're using oauth2 to authorize. Does *request_logs* work if you supply your standard login credentials (i.e. not using the *--oauth2* argument)? ` Also, how are you renewing the oauth token? Try letting appcfg handle the renewal by using the argument *--oauth2_refresh_token=token_here. *This argument is available on the Python SDK, which you can use to download logs even if you have a Java app: https://developers.go<https://developers.google.com/appengine/docs/python/tools/uploadinganapp#Python_Command-line_arguments> ogle.com/appengine/docs/python/tools/uploadinganapp#Python_Command-line_arguments<https://developers.google.com/appengine/docs/python/tools/uploadinganapp#Python_Command-line_arguments> ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
