Join usage-based billing early access (beta)
Usage-based billing is in early access (beta). Read how it works, then apply to join. We'll reach out if you meet the program requirements.
{ "error": { "type": "request_error", "code": "subscription_price_different_allowance_grant_rollover", "detail": "prices on this subscription grant usage balance unit ubu_01kw8ta2j8x5t7q4v9m1kd6phz with different grant.rollover values", "documentation_url": "https://developer.paddle.com/errors/subscriptions/subscription_price_different_allowance_grant_rollover" }, "meta": { "request_id": "00000000-0000-0000-0000-000000000000" }}Details
- Status code
- 400
- Error code
subscription_price_different_allowance_grant_rollover- Error message
- prices on this subscription grant usage balance unit %s with different grant.rollover values
Common causes
- Two or more items in the updated
itemshave prices with an allowance for the sameusage_balance_unit_id, and those allowances have differentgrant.rollovervalues. On a subscription, each usage balance unit has one rollover. Rollovers match only when one converts exactly into the other, so1 yearand12 monthsmatch but4 weeksand1 monthdon't.
Troubleshooting
- Set the same
grant.rolloveron every allowance for that usage balance unit across the prices on the subscription, then try your request again. - If you meant the same length, use the same unit on every price, for example
1 monthrather than4 weeks. - If an add-on's credit should last a different time, give it its own usage balance unit.