# Bulk Index stopped working

**URL:** <https://discuss.elastic.co/t/bulk-index-stopped-working/180234>\
**Category:** Elasticsearch\
**Created:** [May 8, 2019, 6:29pm UTC](https://discuss.elastic.co/t/bulk-index-stopped-working/180234 "2019-05-08T18:29:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [May 8, 2019, 6:29pm UTC](https://discuss.elastic.co/t/bulk-index-stopped-working/180234/1 "2019-05-08T18:29:49Z")

</div>

we were using python to send data to elastic search using a simple routine

es = elasticsearch.Elasticsearch([{'host' : es\_host, 'port' : es\_port}])

es.bulk(index=index\_name, doc\_type=document\_type, body=json\_data\_str, fields="\_id", request\_timeout=60)

however since 7.0 it doesnt seem to like "fields" what has changed? Anyone know? The documentation for 7.0 still shows that fields is valid.

---

<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:** [June 5, 2019, 6:30pm UTC](https://discuss.elastic.co/t/bulk-index-stopped-working/180234/2 "2019-06-05T18:30:04Z")

</div>

Closed on June 5, 2019, 6:30pm UTC

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