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

Error while deleting a product in Apigee Edge after being unsubscribed from all applications

I get an error from Apigee Edge while trying to delete a product: 'Unable to delete ApiProduct as there are one or more apps associated with it.'

This happens after unsubscribing this product from all the applications it was subscribed to. I also wait 20 secs. between the operations an check if the subscription was done by requesting the subscriptions for the product, by searching all the applications in the organization. So I delete the product after being sure that it's not subscribed to any application.

Despite the error message while trying to unsubscribe the product, the result is that I have a product that is deleted, but still subscribed to applications, resulting in problems listing the application subscriptions and not being able to subscribe the applications to other products.

How it could be?

0 4 197
4 REPLIES 4

Hi @Alberto123, I noticed your question hasn’t been answered yet. Don’t worry—we’ll keep an eye on it and try to get some input from other members soon.

Hi @Alberto123 - you can only delete a product when ALL apps have been removed that reference it, from all developers. Probably there is still a developer app still referencing the product, maybe from another developer or a test developer..

Hi @tyayers  , thanks for your answer. In our implementation we only have one developer defined. All the operations are done through that developer using Apigee APIs. And also, the product deletions are done by a script that runs at 5 in the morning, so there are zero  chance that another developer is locking the product at the same time.

Then maybe there is an error on the Apigee Edge side, best to create a support ticket and have a support engineer check.