Invalid billing mode when updating subscription with scheduled change

Subscriptions with a scheduled pause or cancel can only be updated with a supported proration_billing_mode

Error MessageSubscription can only be updated with `do_not_bill`, `full_immediately`, or `prorated_immediately` as the `proration_billing_mode` because it has a scheduled change.
Error Codesubscription_invalid_billing_mode_for_scheduled_change
Status Code400

Common causes

  • You're trying to update a subscription that has a scheduled change using a proration_billing_mode that bills on the next billing period, which isn't allowed.

Solutions

  • Use do_not_bill, full_immediately, or prorated_immediately for the proration_billing_mode.

  • Remove the scheduled change to use any proration_billing_mode.