This page provides general troubleshooting information and provides links to other pages for additional information.
Errors when deploying the Endpoints configuration
If you got an error message from the
gcloud endpoints services deploy
Troubleshooting Endpoints Configuration Deployment
for information on troubleshooting the error.
Errors when deploying your API backend
The deployment of your API and the Extensible Service Proxy (ESP) to a GCP backend is platform dependent. See the following troubleshooting guides for more information:
When you send a request to your API and receive an error response, see Troubleshooting Response Errors for information on troubleshooting the error.
Checking debug information
gcloud command-line tool with debug verbosity will help with
gcloud --verbosity=debug COMMAND
This will make the
gcloud command-line tool print a verbose log of the error.
Depending on the command being run, the output can include request and response
information from the server.
Enabling a Service
You can check whether a service is enabled using
gcloud services list
To display configuration for a particular service, use the following command:
gcloud endpoints services describe SERVICE_NAME
Proxy OAuth fails yet requests pass
Make sure there is an
authentication section that has your OAuth definition in
your gRPC API configuration file. An example configuration file is available in
the Bookstore sample on GitHub.
Locating Cloud Endpoints Logs
Go to the Stackdriver > Logging page in the GCP Console:
Select the service for which you want logs.
For more information, see Monitoring your API.
Go to the Stackdriver > Trace page in the GCP Console:
Select the trace you want to view.