This page provides general troubleshooting information and provides links to other pages for additional information.
Errors when deploying the Cloud 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 Google Cloud 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 required services
Checking required servicesAt a minimum, Endpoints and ESP require the following services:
||Service Management API|
||Service Control API|
||Google Cloud Endpoints|
In most cases, the
gcloud endpoints services deploy command enables these
required services. However, the
gcloud command completes successfully but
doesn't enable the required services in the following circumstances:
If you used a third-party application such as Terraform, and you don't include these services.
You deployed the Endpoints configuration to an existing Google Cloud project in which these services were explicitly disabled.
To confirm that the required services are enabled:
gcloud services list
If you don't see the required services listed, enable them:
gcloud services enable SERVICE_NAME
SERVICE_NAME with the name of the service
For more information about the
gcloud commands, see
Checking debug information
gcloud command-line tool with debug verbosity helps with
gcloud --verbosity=debug COMMAND
This command makes 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 a
security section that has your OAuth definition in your
OpenAPI document. An example specification file is available in the
Getting started sample on GitHub.