This document lists common errors and describes possible resolutions for when you install and configure Apigee.
This section describes common errors and possible resolutions after sending a request to Apigee to create a new instance:
401 (UNAUTHENTICATED)
indicates that your credentials may have timed out. Try renewing your authorization token, as the following example shows: AUTH="Authorization: Bearer $(gcloud auth print-access-token)"
RANGES_EXHAUSTED
indicates that the range of IP addresses that you initially requested could not be accommodated and that you must request a new range. You initially created a range request in Step 2: Set up networking. RANGE_NAME_1=YOUR_RANGE_NAME_1RANGE_NAME_2=YOUR_RANGE_NAME_2NETWORK_NAME=YOUR_NETWORK_NAME
gcloud compute addresses list --global --project=$PROJECT_ID
gcloud compute addresses describe $RANGE_NAME_1 --global --project=$PROJECT_ID
gcloud compute addresses create $RANGE_NAME_2 --project=$PROJECT_ID --global --prefix-length=16 --description="additional peering range for Google services" --network=$NETWORK_NAME --purpose=VPC_PEERING
This command creates a new range named $RANGE_NAME_2.
gcloud compute addresses list --global --project=$PROJECT_ID
gcloud compute addresses describe $RANGE_NAME_1 --global --project=$PROJECT_ID
gcloud compute addresses describe $RANGE_NAME_2 --global --project=$PROJECT_ID
gcloud services vpc-peerings list \ --network=$NETWORK_NAME \ --service=servicenetworking.googleapis.com \ --project=$PROJECT_ID
gcloud services vpc-peerings update --service=servicenetworking.googleapis.com --network=$NETWORK_NAME --ranges=$RANGE_NAME_1,$RANGE_NAME_2 --project=$PROJECT_ID
gcloud services vpc-peerings list \ --network=$NETWORK_NAME \ --service=servicenetworking.googleapis.com \ --project=$PROJECT_ID
The following example shows a common error that Apigee might display when you first try to create an organization:
This means that one or more of the required APIs is not enabled. Review the APIs listed in Step 1: Enable required APIs and be sure that all APIs are enabled before you continue.
In addition, you might get one of the following HTTP errors:
401 (UNAUTHENTICATED)
indicates that your credentials may have timed out. Try renewing your authorization token, as the following example shows: AUTH="Authorization: Bearer $(gcloud auth print-access-token)"
404 (Not Found)
can be the result of the following: apigee.googleapis.com
for the API call's domain.409 (Conflict)
usually indicates that the given organization name already exists. Organization names must be globally unique. Choose another name for the organization and re-issue the command. (You specify the name in the payload of the request if you are creating an organization on the command line. Keep in mind that you must create an organization that has the same name as your project, so this really shouldn't happen unless there's a typo.)The following is a possible error that Apigee might return when you check the status of a new organization request:
403 (Permission Denied)
could indicate that the organization has not yet been created. Wait another minute and try again. If Apigee returns a 403
when you first try to create the new organization, it could mean that one or more of your APIs have not been enabled. Be sure that you enabled all the APIs as described in Step 1: Enable required APIs .When deploying a sample proxy, Apigee might return a 502 (Bad Gateway)
HTTP error. In this case, try the following:
This restarts the Envoy instance.
If at any time you delete and recreate your Apigee instance, the Apigee instance IP changes and can become out of sync with the managed instance group (MIG) template's endpoint IP. For example, the MIG template will still have the old IP from the deleted instance. The MIG template was created during the Apigee provisioning process. In this situation, try the following steps to update the MIG template with the correct Apigee IP:
Open the Apigee UI.
10.117.200.2
.In the Google Cloud console, go to the Instance templates page.
ENDPOINT
IP under the Custom metadata section.Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-24 UTC.