# Ask for help

**URL:** <https://discuss.elastic.co/t/ask-for-help/336655>\
**Category:** Elasticsearch\
**Created:** [June 22, 2023, 8:44am UTC](https://discuss.elastic.co/t/ask-for-help/336655 "2023-06-22T08:44:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Farah\_Bannour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/farah_bannour/32/118699_2.png) [@Farah\_Bannour](https://discuss.elastic.co/u/Farah_Bannour)\
**Post date:** [June 22, 2023, 8:44am UTC](https://discuss.elastic.co/t/ask-for-help/336655/1 "2023-06-22T08:44:52Z")

</div>

Good morning, i have a probelm in index elasticsearch elasticsearch.BadRequestError: BadRequestError(400, 'illegal\_argument\_exception', 'mapper [doc.session\_id] cannot be changed from type [text] to [long]') can anyone help me to solve this problem by the way i use the data from odoo an i index in elasticsdearch

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [June 22, 2023, 9:19am UTC](https://discuss.elastic.co/t/ask-for-help/336655/2 "2023-06-22T09:19:27Z")

</div>

Hi @Farah_Bannour,

> [@Farah\_Bannour](#):
>
> mapper [doc.session\_id] cannot be changed from type [text] to [long]

It looks from the error that there is a type mismatch on the field `doc.session_id`. Can you share how you are ingesting your data from odoo, a sample message and the index mapping?

---

<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:** [July 20, 2023, 9:20am UTC](https://discuss.elastic.co/t/ask-for-help/336655/3 "2023-07-20T09:20:12Z")

</div>

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