# BulkIndexError while I try to ingest data from python

**URL:** https://discuss.elastic.co/t/bulkindexerror-while-i-try-to-ingest-data-from-python/319043
**Category:** Elasticsearch
**Created:** [November 16, 2022, 9:19am UTC](https://discuss.elastic.co/t/bulkindexerror-while-i-try-to-ingest-data-from-python/319043 "2022-11-16T09:19:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![eleven\_e](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eleven_e/32/106651_2.png) [@eleven\_e](https://discuss.elastic.co/u/eleven_e)
#### Post date: [November 16, 2022, 9:19am UTC](https://discuss.elastic.co/t/bulkindexerror-while-i-try-to-ingest-data-from-python/319043/1 "2022-11-16T09:19:44Z")

</div>

I try to ingest a csv using python and it raises an error **"BulkIndexError"**. But when I upload it using the UI in kibana it uploads perfectly, so I also tried ingesting in the same index and also tried with the index's mapping. It throws BulkIndexError.

Thanks.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [November 16, 2022, 10:47pm UTC](https://discuss.elastic.co/t/bulkindexerror-while-i-try-to-ingest-data-from-python/319043/2 "2022-11-16T22:47:10Z")

</div>

Please share your code and any logs.

---

<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: [December 14, 2022, 10:47pm UTC](https://discuss.elastic.co/t/bulkindexerror-while-i-try-to-ingest-data-from-python/319043/3 "2022-12-14T22:47:14Z")

</div>

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