Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to delete target server from APIGEE Edge Console

I am in the process of cleaning up all artifacts related to an existing proxy. Hence started with the following steps which have all been successful except the last one:

  1. Disassociate proxy from API Products
  2. Delete API Product (if there was just this proxy in that product)
  3. Delete API proxy
  4. Delete KVMs
  5. Delete Target Servers

For the last one I am getting the following error (proxy name and revisions have been redacted)

Remote server failed to handle event. error code: messaging.runtime.ReferencesExistToTargetServer; error message: Target server <my server name> in environment <my environment> is being used by proxies [<my proxy name> Revision <revision x>, <my proxy name> Revision <revision y>]

I can confirm that there is no proxy that I can see right now so unclear how to delete the target server. Thanks in advance.

0 2 179
2 REPLIES 2

@skumar-bunnings 

Hello,

The good practice is always remove first the App, API Products, KVM, Target Server and finally the API Proxy.

You can use the API reference to get more information:

Target Server: 

https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.target...

API Proxy:

https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.apis.r...

If you are using Apigee PAYG or Subscription I suggest you create a support ticket.

Thanks @AldoMeneses86 . Let me reach out to support on this. Shall keep the post updated regarding the resolution.