Jump to content

Is there a limit to the number of product_features allowed via the Webservice API?


gngngngn

Recommended Posts

Hello everyone,

I'm working on a Symfony script that uses the PrestaShop Webservice API to automatically add products to my store (PrestaShop 8.1.5).
Everything works fine for most products, except for some that have a large number of features.

These products can include up to 60–70 id_feature@id_feature_value pairs, with several of them using the same id_feature.
When I try to send them via the /api/products endpoint, I get the following error:

HTTP response is empty

For products with fewer features, the API call works correctly.
 

I'm wondering:

Is there any strict (documented or undocumented) limit to the total number of product_feature entries that can be sent via the Webservice API?

Additional info:

PrestaShop version: 8.1.5

Library used: jupi/prestashop-webservice-lib-extra

XML includes all required fields (name, link_rewrite, id_category_default, etc.)

The issue disappears when I reduce the number of features sent
 

Thanks in advance for any help or feedback if you've encountered this kind of limitation before!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...