My program that uses Remote API, has been working fine before the deployment, now breaks with the following error:
Exception in thread "main" com.google.appengine.repackaged.com.google.api.client.http.HttpResponseException: 302 Found at com.google.appengine.repackaged.com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1070) at com.google.appengine.tools.remoteapi.OAuthClient.get(OAuthClient.java:64) at com.google.appengine.tools.remoteapi.RemoteApiInstaller.getAppIdFromServer(RemoteApiInstaller.java:413) at com.google.appengine.tools.remoteapi.RemoteApiInstaller.loginImpl(RemoteApiInstaller.java:376) at com.google.appengine.tools.remoteapi.RemoteApiInstaller.login(RemoteApiInstaller.java:337) at com.google.appengine.tools.remoteapi.RemoteApiInstaller.install(RemoteApiInstaller.java:173) at qqstay.datastore.StoreAdmin.main(StoreAdmin.java:35) I checked that I have the correct login credentials with gcloud auth login <https://cloud.google.com/appengine/docs/java/tools/remoteapi>. Wondering if this issue is related to others: Unable to use remote api to access GAE datastore <https://groups.google.com/forum/#!topic/google-appengine/aQBoej3JBXo> (similar 302 error) GAE 1.9.36 - AppIdentityServiceFailureException when try store / read on Cloud Storage <https://groups.google.com/forum/#!topic/google-appengine/7gYqm_zJYk4> -- 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/4c236c02-47d5-4781-81ea-65ba579b69fb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
