# An HTTP line is larger than 4096 bytes

**URL:** <https://discuss.elastic.co/t/an-http-line-is-larger-than-4096-bytes/188876>\
**Category:** Elasticsearch\
**Created:** [July 4, 2019, 9:46am UTC](https://discuss.elastic.co/t/an-http-line-is-larger-than-4096-bytes/188876 "2019-07-04T09:46:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![masterThomas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/masterthomas/32/42765_2.png) [@masterThomas](https://discuss.elastic.co/u/masterThomas)\
**Post date:** [July 4, 2019, 9:46am UTC](https://discuss.elastic.co/t/an-http-line-is-larger-than-4096-bytes/188876/1 "2019-07-04T09:46:19Z")

</div>

hi team,

get error while trying to record my data to index with \_bulk api. I make records in my custom endpoint which takes all \_ids of my events. Use elasticsearch 6.7.0 . is there any workaround resolution of this?

```
 '{"error":{"root_cause":[{"type":"too_long_frame_exception","reason":"An HTTP line is larger than 4096 bytes."}],"type":"too_long_frame_exception","reason":"An HTTP line is larger than 4096 bytes."},"status":400}'
```

---

<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:** [August 1, 2019, 9:46am UTC](https://discuss.elastic.co/t/an-http-line-is-larger-than-4096-bytes/188876/2 "2019-08-01T09:46:20Z")

</div>

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