When developing for App Engine Endpoints in Java using the official documentation, after running endpoints.cmd with the appropriate parameters and deploying in GAE, the dev server shows the proper endpoints at http://localhost:8888/_ah/api/discovery/v1/apis
, but accessing the explorer for the production version on GAE shows old endpoints at https://<my-app>.appspot.com/_ah/api/discovery/v1/apis
.
The error was traced to the HTTP 302
(moved temporarily) code found in the Logs of the production app for access to /_ah/spi/BackendService.getApiConfigs
. Until that clears (i.e., gives HTTP 200), Google's servers won't be able to serve the endpoint (See this comment).