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 in environment is being used by proxies [ Revision , Revision ]

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.

@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.targetservers/get

API Proxy:

https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.apis.revisions.debugsessions/get

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

1 Like

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