Skip to content

PrestaShop API error messages

  • Knowledge of PrestaShop products and combinations (id_product, id_product_attribute)
  • Access to the PrestaShop back office and to Ciklik

The “Cause in Ciklik” column is the label shown in the subscription’s Renewal situation panel.

Error messageCause in CiklikWhat happensRecommended action
Product not found for variant <id>A variation of the subscription no longer exists in PrestaShopCombination <id> was deleted from your catalogSee below
Product combination <id> not foundA variation of the subscription no longer exists in PrestaShopThe combination of a product added as an upsell was deletedThe customer can remove this product in My account > Your subscriptions, Non-recurring additional products section; otherwise, contact Ciklik support
HTML page (<!doctype html>…)Your shop did not answer CiklikThe shop returned a page (maintenance, protection, server error) instead of the module responseSee Rebill and PrestaShop site unavailability
Invalid fingerprint: …The subscription cart cannot be read, Ciklik has been informedThe module cannot read the cart information sent by Ciklik, for example after a module updateContact Ciklik support with the subscription ID
Customer not foundThe customer no longer exists in PrestaShopThe subscription’s customer was deleted from your shopCheck the customer in PrestaShop; if they were indeed deleted, cancel the subscription
Cart not foundReason not identified, Ciklik support can helpThe cart prepared for the renewal no longer existsNothing to do: Ciklik recreates a cart
Missing parameter : … or Bad parameter : …Reason not identified, Ciklik support can helpIncomplete request between Ciklik and the moduleContact Ciklik support with the subscription ID

Most common error: Product not found for variant

Section titled “Most common error: Product not found for variant”
  1. You create a product “Coffee 250g” with two combinations:

    • Ground (id_product_attribute = 42)
    • Whole bean (id_product_attribute = 43)
  2. Customers subscribe to the “Ground” combination (id = 42).

  3. You reorganize your catalog: you delete the “Ground” combination to recreate it differently.

  4. The new “Ground” combination now has id 87.

  5. Result: all subscriptions that referenced id 42 fail with Product not found for variant 42.

The subscription cannot renew until one of these actions is done:

Option 1: update the subscription product in Ciklik (recommended)

Option 2: enable the module option below, if your shop uses frequency mode.

Fall back to default combination if deleted

Section titled “Fall back to default combination if deleted”

This module option automatically replaces, at renewal, a deleted combination with the product’s default combination.

  1. In the PrestaShop back office, open the Ciklik module configuration.
  2. Set Fall back to default combination if deleted to Yes, then click Save.

What to know before enabling it:

  • Frequency mode only. The option works on subscriptions whose content holds the product and the combination (id_product:id_product_attribute), that is those created in frequency mode. In combination mode, the subscription only holds the combination ID: if it is deleted, the module can no longer find the product and the Product not found for variant error remains.
  • Check the default combination. The customer receives the product’s default combination, not necessarily the one they chose. Make sure it suits a subscriber.
  • Upsell products are not covered: a deleted upsell combination still gives Product combination <id> not found.
  • Each replacement is recorded in the PrestaShop logs (Advanced Parameters > Logs) with the message “Falling back to default attribute for product…”. Then fix the subscription product in Ciklik so you no longer depend on the option.

This error occurs when the cart prepared for the renewal no longer exists in your shop.

  • Automatic cart cleanup: a cleanup module deletes old or “orphan” carts before the renewal is confirmed.
  • Manual database purge: cleanup of the ps_cart and ps_cart_product tables without care.

Ciklik recreates a cart with the same products and completes the renewal. If the error comes back often, check your shop’s cart cleanup settings.

In Ciklik, the Blocked renewals lens of Sales > Subscriptions lists blocked subscriptions with their cause. Through the rebill-errors API:

Fenêtre de terminal
GET /api/rebill-errors?filter[created_at_after]=2026-01-01

Refer to the reference table above to understand the cause.

Compare:

  • the product and combination ID of the subscription in Ciklik;
  • the existence of this ID in the PrestaShop catalog.

Depending on the diagnosis:

  • update the subscription product;
  • recreate the missing items in PrestaShop;
  • contact Ciklik support for complex cases.

Q: How do I identify all subscriptions affected by a combination deletion?

The API does not filter by combination: list active subscriptions, then spot those whose content (content[].external_id) matches the combination concerned:

Fenêtre de terminal
GET /api/subscriptions?filter[activated]=1

Q: Can I change subscription products in bulk?

Yes, via the Ciklik API. Contact support for help with bulk changes.

Q: Are these errors visible in the PrestaShop back office?

No. The module returns the message to Ciklik, which records it: you find it in the renewal errors of the subscription and of your site in Ciklik, or through the rebill-errors API.