# Error trying to index products

**URL:** <https://discuss.elastic.co/t/error-trying-to-index-products/169715>\
**Category:** Elasticsearch\
**Created:** [February 24, 2019, 10:32am UTC](https://discuss.elastic.co/t/error-trying-to-index-products/169715 "2019-02-24T10:32:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hgarnelo](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@hgarnelo](https://discuss.elastic.co/u/hgarnelo)\
**Post date:** [February 24, 2019, 10:32am UTC](https://discuss.elastic.co/t/error-trying-to-index-products/169715/1 "2019-02-24T10:32:59Z")

</div>

When trying to index products, 80000, after a few seconds the following error message appears:

```
[PrestaShop] Fatal error in module file :/var/www/xxxxxx.es/modules/elasticsearchpro/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:
Uncaught Elasticsearch\Common\Exceptions\BadRequest400Exception in /var/www/xxxxxx.es/modules/elasticsearchpro/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:610 Stack trace: #0 /var/www/xxxxxx.es/modules/elasticsearchpro/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php(273): Elasticsearch\Connections\Connection->process4xxError(Array, Array, Array) #1 /var/www/xxxxxx.es/modules/elasticsearchpro/vendor/react/promise/src/FulfilledPromise.php(25): Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure}(Array) #2 /var/www/xxxxxx.es/modules/elasticsearchpro/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL) #3 /var/www/xxxxxx.es/modules/elasticsearchpro/vendor/guzzlehttp/ringphp/src/Core.php(341): GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL) #4 /var/www/xxxxxx.es/modules/

```

Elastic Search version: 6.6.1  
Configured in Ubuntu 16.04

java version "1.8.0\_201"  
Java(TM) SE Runtime Environment (build 1.8.0\_201-b09)  
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

Prestashop 1.6.1.23

Thank you.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 24, 2019, 7:37pm UTC](https://discuss.elastic.co/t/error-trying-to-index-products/169715/2 "2019-02-24T19:37:55Z")

</div>

That seems to be a problem in the Prestashop codebase so I would recommend contacting them as that might give you an answer faster.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 24, 2019, 7:37pm UTC](https://discuss.elastic.co/t/error-trying-to-index-products/169715/3 "2019-03-24T19:37:57Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
