Docs

Item quantity out of range

Quantity of item requested is out of range of the allowed values.

Example response
{
"error": {
"type": "request_error",
"code": "subscription_quantity_not_valid",
"detail": "quantity for pri_01ghbk4xjn4qdsmstcwzgcgg35 must be between 2 and 8",
"documentation_url": "https://developer.paddle.com/errors/subscriptions/subscription_quantity_not_valid"
},
"meta": {
"request_id": "00000000-0000-0000-0000-000000000000"
}
}

Details

Status code
400
Error code
subscription_quantity_not_valid
Error message
quantity for %s must be between %d and %d

Common causes

  • %s has limits on the minimum and maximum quantities of this item that can be added to a subscription. The requested quantity is out of range.

Troubleshooting

  • Update the quantity to within the range provided in the error message.
  • Check the related product to see if there's a price with a quantity range for the quantity you're trying to add.

Was this page helpful?