PrestaShop API error messages
Prerequisites
Section titled “Prerequisites”- Knowledge of PrestaShop architecture (products, combinations, carts)
- Access to PrestaShop and Ciklik back offices
- Familiarity with PrestaShop
id_productandid_product_attributeconcepts
Error message reference
Section titled “Error message reference”| Error message | PrestaShop context | Recommended action |
|---|---|---|
Missing parameter : id | Missing ID parameter in the request to PrestaShop | Check the subscription integrity in Ciklik and consistency with the PrestaShop catalog |
Bad parameter : id | Invalid ID parameter — the combination or product has been deleted/modified in the PrestaShop back office | Recreate the combination or update the subscription product |
Cart not found | The referenced PrestaShop cart no longer exists | Regenerate the cart (issue often related to database cleanup on the PrestaShop side) |
Missing parameter : id_product_attribute | PrestaShop combination not specified | The product configured in the subscription requires a combination (size, color, packaging, etc.) |
Most common error: Bad parameter : id
Section titled “Most common error: Bad parameter : id”Typical scenario
Section titled “Typical scenario”-
The merchant creates a “Coffee 250g” product with two combinations:
- Ground (id_product_attribute = 42)
- Whole bean (id_product_attribute = 43)
-
Customers subscribe to the “Ground” combination (id = 42)
-
The merchant decides to reorganize their catalog and deletes the “Ground” combination to recreate it differently
-
The new “Ground” combination now has id = 87
-
Result: All subscriptions that referenced id 42 fail with
Bad parameter : id
Solutions
Section titled “Solutions”The subscription will no longer be able to renew until one of these actions is performed:
Option 1: Recreate the combination with the same ID (complex)
- Requires intervention in the PrestaShop database
- Not recommended as it is risky
Option 2: Update the subscription product on the Ciklik side (recommended)
- Via the Ciklik back office: Modify a subscription product
- Or via the Ciklik API for bulk modifications
Cart not found error
Section titled “Cart not found error”This error occurs when the PrestaShop cart referenced by Ciklik no longer exists.
Possible causes
Section titled “Possible causes”-
Automatic cart cleanup: PrestaShop deletes abandoned carts by default after a certain period. If a rebill is delayed (server unavailability, etc.), the initial cart may have been deleted.
-
Manual database purge: Cleanup of
ps_cartandps_cart_producttables without precaution. -
Maintenance module: Some PrestaShop cleanup modules delete “orphan” carts.
Solution
Section titled “Solution”The rebill will be automatically retried with the creation of a new cart. If the error persists, check the automatic cart cleanup configuration in PrestaShop.
Missing parameter : id_product_attribute error
Section titled “Missing parameter : id_product_attribute error”This error indicates that the product configured in the subscription has required combinations, but no combination was specified.
Possible causes
Section titled “Possible causes”- The subscription was created before combinations were added to the product
- Incomplete data migration
- Bug during subscription creation
Solution
Section titled “Solution”Update the subscription to specify the desired combination via Modify a subscription product.
Diagnosis and resolution
Section titled “Diagnosis and resolution”Step 1: Identify subscriptions with errors
Section titled “Step 1: Identify subscriptions with errors”Via the rebill-errors API:
GET /api/rebill-errors?filter[created_at_after]=2026-01-01Step 2: Analyze the error message
Section titled “Step 2: Analyze the error message”Refer to the reference table above to understand the cause.
Step 3: Verify catalog consistency
Section titled “Step 3: Verify catalog consistency”Compare:
- The product/combination ID stored in the Ciklik subscription
- The existence of this ID in the PrestaShop catalog
Step 4: Correct
Section titled “Step 4: Correct”Depending on the diagnosis:
- Update the subscription product
- Recreate the missing elements in PrestaShop
- Contact Ciklik support for complex cases
Q: How do I identify all subscriptions affected by a combination deletion?
Filter active subscriptions by the relevant combination ID via the API:
GET /api/subscriptions?filter[id_product_attribute]=42&filter[status]=activeQ: Can I bulk modify subscription products?
Yes, via the Ciklik API. Contact support for assistance with bulk modifications.
Q: Are these errors visible in the PrestaShop back office?
No, these errors are captured by Ciklik before reaching PrestaShop. They are only visible in the Ciklik back office or via the rebill-errors API.