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?