Error : ChargeBee_InvalidRequestException

Modified on: Tue, 19 Apr, 2022 at 8:03 PM

Scope

Error ‘Plan item price must be present to create the subscription’ while creating a subscription for items via API in PC 2.0

I am getting an error ‘ChargeBee_InvalidRequestException, day-pass-USD not found’

Summary

This error normally occurs for several reasons

  1. If the provided Plan was not available on your site

  2. If the Price point ID was not created for the mentioned term

  3. If the Price point ID was not created for the currency specified

  4. If the Plan is ‘Unit based’ the quantity was not mentioned


If you are using PC 2.0 and referring to PC 1.0 document, then you might be facing the same issue. 


Note: In your TEST site you will have default plans which will not be available on your LIVE site. Please validate that you are using the right plan price point ID.


Solution

Please navigate from Product Catalog > Plans > Price Point i.e, monthly/yearly/daily and check you have used the correct Plan Price point ID.



Here you will the Plan price point ID


You can also use List item Prices API to list all the price point IDs from the specific Product Family. 



Related Articles

How to list more than 10 items when listing information via API?

Did you find it helpful? Yes No

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