Subscription Contract Mutation Error

Hello,

I am receiving this error when trying to update a subscription contract by API:

{
  field: ['contractId'],
  message: "Subscription contract cannot update when having a future contract or schedule edit.",
  __typename: "SubscriptionDraftUserError"
}

I understand the error message, however haven’t seen any documentation on how to resolve this issue or find a workaround. Any suggestions?

2 Likes

I wonder if this error is returned when given SubscriptionContract has some scheduled future Order? However, I would still expect to be able to tell that I want to pause the contract after the BillingCycle of the already scheduled Order without having to wait.

Looks like the issue is:
If the contract has a current or future billing cycle with committed edits, then you can’t update the source subscription contract until you delete all of the edits.

Source: https://shopify.dev/docs/apps/selling-strategies/subscriptions/billing-cycles#:~:text=If%20the%20contract%20has%20a%20current%20or%20future%20billing%20cycle%20with%20committed%20edits%2C%20then%20you%20can%27t%20update%20the%20source%20subscription%20contract%20until%20you%20delete%20all%20of%20the%20edits.