Docs

Product Catalog Articles & FAQ

InvalidRequestException, not, found, error

Error : ChargeBee_InvalidRequestException

This error normally occurs for several reasonsIf the provided Plan was not available on your site

38989385

2022-04-19T14:33:40Z

2022-04-19T14:33:40Z

1364

0

4

254162

Error : ChargeBee_InvalidRequestException

Error : ChargeBee_InvalidRequestException 

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 

What are the improvements on the revamped item detail page on PC 2.0?
Editing a Plan's Pricing & Billing Frequency
Will a new plan price affect the existing subscriptions?
Is there any option to add a trial period for a subscription/plan?
How do I collect the setup fee upfront for a trial subscription?
How do I setup paid trial for my plans, in Chargebee?
What is the maximum duration of a trial period that I can offer using Chargebee?
How do I create a zero-dollar or zero cost plan in Chargebee?
What happens when I delete a plan in Chargebee?
How to configure plans with different currencies in bulk?
Unable to remove trial for a plan
Unable to edit the free quantity in per-unit price plans
How to change plan pricing in PC 2.0?
How to configure trial period for a plan in PC 2.0?
Changing to a plan with different trial days
What is the difference between price override and differential pricing for addons/charges?
How to set up site wide billing frequency settings in Product Catalog 2.0?
How to create a Plan and view plan ID in PC 2.0?
How to create a plan in PC 2.0 with multiple currencies and billing frequencies?
I am unable to find the invoice name field while creating the plan.
Delete an item or item price in PC 2.0
Is it possible to change the ID of the plan on my Chargebee site?
How to define a product with fixed price for a specific number of units and then with a unit price??
Error:item_price_ids already applicable for item_type plan cannot be removed
What are pricing models available for plans, addons & charges in Chargebee?
What is the difference between price override and creating customer specific plans or addons?
How to find the plans that are associated with a feature using API?
How to combine and configure a per unit and flat-free pricing model?
Is it possible to have a single plan with different options for contract length?(such as 3 months, 6 months or forever).
Was this article helpful?
Loading…