The endpointscfg.py utility is no longer working due to the backing Google webapis-discovery service not being available. This prevents the creation of endpoint discovery documents as well as client libraries. This has been logged in the issue tracker, but has not received any attention yet:
https://issuetracker.google.com/issues/131557153 The utility will always fail with a traceback like this: Traceback (most recent call last): File "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/endpointscfg.py", line 133, in <module> run_file(__file__, globals()) File "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/endpointscfg.py", line 129, in run_file execfile(_PATHS.script_file(script_name), globals_) File "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py", line 561, in <module> main(sys.argv) File "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py", line 557, in main args.callback(args) File "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py", line 426, in _GetClientLibCallback hostname=args.hostname, application_path=args.application) File "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py", line 390, in _GetClientLib discovery_doc = _FetchDiscoveryDoc(config, 'rest') File "/Users/larrys/tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/endpointscfg.py", line 277, in _FetchDiscoveryDoc raise ServerRequestException(error) __main__.ServerRequestException: HTTP 404 (Not Found) error when communicating with URL: https://webapis-discovery.appspot.com/_ah/api/discovery/v1/apis/generate/rest. Response: <html><head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title>404 Not Found</title> </head> <body text=#000000 bgcolor=#ffffff> <h1>Error: Not Found</h1> </body></html> -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. 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/8a0373a5-711c-4e4a-b901-677a4e07fd42%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.