akeneo / api-php-client

PHP client of Akeneo PIM API

Home Page:https://packagist.org/packages/akeneo/api-php-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random Server Side errors on random products

Tautve opened this issue · comments

commented

Hi, we have a system that periodically imports products. Recently, we have started to import product attributes as well. However, we have over 1000 products and we are importing their attributes every 30min. Unfortunately, we randomly receive errors from this endpoint: 'api/rest/v1/attributes/{attribute_code}/options/{code}' 'Akeneo\Pim\ApiClient\Exception\ServerErrorHttpException'.

Screenshot 2023-07-10 at 14 08 12

We checked the code from our BE side and did not find anything that could cause such errors.

Also, during product import, we download their images via $this->akeneoPimClient->getAssetMediaFileApi()->download($path)->getBody(). This endpoint returns some Server side errors on random products.

Screenshot 2023-07-10 at 14 11 13

For example, yesterday (2023-07-09) we received 3 errors regarding product attributes and 6 errors regarding product images. We import both the attributes and the images every 30min.

We suspect that these errors are related. Has anyone faced such issues and might have some suggestions or even the proper solutions?

Thank you in advance!