Yes, you need to follow the directions to connect to an App Engine application via the remote shell:
1. Run `gcloud auth application-default login` 2. Follow the directions here: https://cloud.google.com/appengine/docs/python/tools/remoteapi Result: HTTP 401 Unauthorized errors I'm guessing the App Engine remote shell needs to get the user's email address to be able to authenticate against the Users API (I think?). The OAuth2 token without that additional scope does not work. Thanks, Evan On Wednesday, November 9, 2016 at 12:58:46 PM UTC-5, George (Cloud Platform Support) wrote: > > Hello Evan, > Running your gcloud command without the --sources part results in > successfully getting the application default credentials on 2 different > freshly-created instances. Does the error manifest itself in special > circumstances? Are there any other details needed to correctly reproduce > the error? > -- 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 https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/2e3a542c-1b9f-43a2-91fd-670d3151a9e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
