# Plan billing interval too long

> The plan.billing_period_too_long error (400) means a plan bills less often than once a year. Learn how to set a valid billing interval.

## Error code

```json
{
  "code": "plan.billing_period_too_long",
  "docUrl": "https://doc.mor.payments.ai/errors/plan-billing-period-too-long"
}
```

## HTTP status

400

## Cause

A plan bills at most once per year. The `billingPeriod` and `periodLength` of the edited plan, taken together, describe a longer interval: more than 52 weeks, 12 months or 1 year. When a request changes only one of the two, it is checked against the value already stored on the plan.

## How to fix

Lower `periodLength`, or send `billingPeriod` and `periodLength` together so that the interval is one year or shorter.

## Related API

See the [API Reference](/api) for the operation that returned this error.
