Error: ‘usage_date’ must fall within the period when the ‘item_price’ was active in the subscription

Modified on: Tue, 16 Aug, 2022 at 10:50 AM

This article covers 

Why am I receiving this error: ‘usage_date’ must fall within the period when the ‘item_price’ was active in the subscription? How to resolve this error?


Solution


If you are trying to create usages for a subscription via UI/API and it throws an error ‘usage_date’ must fall within the period when the ‘item_price’ was active in the subscription then you need to check the usage date and the billing cycle period you are trying to add the usages for.

Error Via API :


Error Via UI :





For example, if the subscription is created and items (first usage) were added on the 8th of June, then you can only add usages from 8th of June till present date. For before/After dates you will receive this error. This is an expected product behavior.





Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×