Docs

Invalid update options for discount on a trialing subscription

You are attempting to add or update a discount on a trialing subscription with invalid options

Example response
{
"error": {
"type": "request_error",
"code": "subscription_trialing_discount_update_invalid_options",
"detail": "Discounts can only be added or updated on a trialing subscription effective from next billing period",
"documentation_url": "https://developer.paddle.com/errors/subscriptions/subscription_trialing_discount_update_invalid_options"
},
"meta": {
"request_id": "00000000-0000-0000-0000-000000000000"
}
}

Details

Status code
400
Error code
subscription_trialing_discount_update_invalid_options
Error message
Discounts can only be added or updated on a trialing subscription effective from next billing period

Common causes

  • You are attempting to add or update a discount on a trialing subscription with discount.effective_from: immediately

Troubleshooting

  • Retry the request with discount.effective_from: next_billing_period

Was this page helpful?