Introducing the Chargebee CLI

I can't schedule a cancellation 2 years from today. Why is this happening?

Problem Statement

You try to schedule Cancel Subscription for a date two years from today, but Chargebee returns an error instead of accepting the date.

Solution

In Chargebee, you can cancel subscriptions on a specific date by setting the exact date and time of cancellation (using the Cancel on a specific date option).

However, this setting applies only when the date of the scheduled future cancellation is less than or equal to 365 days. If the specified future date exceeds 365 days, you may observe the error "There are errors while submitting" on the subscription cancellation page.

The maximum duration you can set when you schedule a cancellation is 365 days from today. A date two years in the future exceeds that limit, which is why scheduling fails.