{ "error": { "type": "request_error", "code": "subscription_maximum_number_of_line_items_reached", "detail": "Subscription update results in a transaction that has more than the maximum number of line items.", "documentation_url": "https://developer.paddle.com/errors/subscriptions/subscription_maximum_number_of_line_items_reached" }, "meta": { "request_id": "00000000-0000-0000-0000-000000000000" }}Details
- Status code
- 400
- Error code
subscription_maximum_number_of_line_items_reached- Error message
- Subscription update results in a transaction that has more than the maximum number of line items.
Common causes
- You're trying to add more than 100 recurring items to a subscription.
- You're billing changes on the next billing period, but line items for earlier changes or one-time charges are already scheduled for renewal, pushing the next transaction over 100 line items.
- You're replacing too many recurring items at once, pushing the next transaction over 100 line items.
Troubleshooting
- Reduce the number of recurring items on the subscription to 100 or fewer.
- Get a subscription with
next_transactionto preview the line items scheduled for the next transaction. - Use
prorated_immediatelyorfull_immediatelyas theproration_billing_modeto bill changes immediately rather than adding them to the renewal transaction.