Symptoms

Change order failed with below error: 


The order provisioning failed.
The last error is "Task "Delivering event 'Resource limits changed' for APS application inhouse-products(https://inhouse-products:8081/rest)" (id = 331981) is failed with error: "'500 Internal Server Error' received from 'POST https://inhouse-products:8081/rest/tenant/xxxxxxx-a2c4-4aa0-ad9f-e0c8d1acfdee/onLimitChange': Operation 'LIMIT_CHANGE' failed. Fulfillment Request 'PR-XXXX-XXXX-XXXX-026'. Reason: An error has occurred when performing the partial upgrade of the subscriptionxxxxxxxx-xxxx-xxxx-d7b1-960d867b34d1: The target transition ToSubscriptionId field is invalid. Target subscription CommitmentEndDate must be later than source subscription..


Cause

The issue can happen because the source subscription expires later than the target subscription expiration date.

According to the documentation, this upgrade is not allowed, it is only allowed to partially upgrade a subscription to an existing subscription that has an expiration date later than the source subscription. It is a known limitation :

https://docs.cloudblue.com/cbc/21.0/UX1-UI/whats-new.htm#5.4



Resolution


1. Check the PR status on the Connect side:  



2. Cancel the current order as it will never be completed.


3. In this case please choose the option to upgrade to a new subscription