# \_bulk endopint fails when on single index

**URL:** <https://discuss.elastic.co/t/-bulk-endopint-fails-when-on-single-index/10862>\
**Category:** Elasticsearch\
**Created:** [February 23, 2013, 11:46pm UTC](https://discuss.elastic.co/t/-bulk-endopint-fails-when-on-single-index/10862 "2013-02-23T23:46:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexis\_Okuwa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexis_okuwa/32/1983_2.png) [@Alexis\_Okuwa](https://discuss.elastic.co/u/Alexis_Okuwa)\
**Post date:** [February 23, 2013, 11:46pm UTC](https://discuss.elastic.co/t/-bulk-endopint-fails-when-on-single-index/10862/1 "2013-02-23T23:46:48Z")

</div>

When i am trying to use bulk indexing but only have one data point the  
system will fail with the following error.

Array  
(  
[error] =\> ActionRequestValidationException[Validation Failed: 1: no  
requests added;]  
[status] =\> 500  
)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 24, 2013, 3:48am UTC](https://discuss.elastic.co/t/-bulk-endopint-fails-when-on-single-index/10862/2 "2013-02-24T03:48:58Z")

</div>

Do you send 2 lines with a cariage return for each Line?  
How does your bulk look like?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 24 févr. 2013 à 00:46, Wojons Tech [wojonstech@gmail.com](mailto:wojonstech@gmail.com) a écrit :

When i am trying to use bulk indexing but only have one data point the system will fail with the following error.

## Array ( [error] =\> ActionRequestValidationException[Validation Failed: 1: no requests added;] [status] =\> 500 )

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Alexis\_Okuwa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexis_okuwa/32/1983_2.png) [@Alexis\_Okuwa](https://discuss.elastic.co/u/Alexis_Okuwa)\
**Post date:** [February 24, 2013, 3:52am UTC](https://discuss.elastic.co/t/-bulk-endopint-fails-when-on-single-index/10862/3 "2013-02-24T03:52:37Z")

</div>

I have two lines but only one return carriage  
On Feb 23, 2013 7:49 PM, "David Pilato" [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Do you send 2 lines with a cariage return for each Line?  
> How does your bulk look like?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 24 févr. 2013 à 00:46, Wojons Tech [wojonstech@gmail.com](mailto:wojonstech@gmail.com) a écrit :
> 
> When i am trying to use bulk indexing but only have one data point the  
> system will fail with the following error.
> 
> Array  
> (  
> [error] =\> ActionRequestValidationException[Validation Failed: 1: no  
> requests added;]  
> [status] =\> 500  
> )
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/\_06HsspSbiE/unsubscribe?hl=en-US](https://groups.google.com/d/topic/elasticsearch/_06HsspSbiE/unsubscribe?hl=en-US)  
> .  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Alexis\_Okuwa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexis_okuwa/32/1983_2.png) [@Alexis\_Okuwa](https://discuss.elastic.co/u/Alexis_Okuwa)\
**Post date:** [February 24, 2013, 3:59am UTC](https://discuss.elastic.co/t/-bulk-endopint-fails-when-on-single-index/10862/4 "2013-02-24T03:59:47Z")

</div>

looks like adding an extra \n to the end of the second one allows me it to  
work as needed.

On Sat, Feb 23, 2013 at 7:52 PM, Wojons Tech [wojonstech@gmail.com](mailto:wojonstech@gmail.com) wrote:

> I have two lines but only one return carriage  
> On Feb 23, 2013 7:49 PM, "David Pilato" [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > Do you send 2 lines with a cariage return for each Line?  
> > How does your bulk look like?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 24 févr. 2013 à 00:46, Wojons Tech [wojonstech@gmail.com](mailto:wojonstech@gmail.com) a écrit :
> > 
> > When i am trying to use bulk indexing but only have one data point the  
> > system will fail with the following error.
> > 
> > Array  
> > (  
> > [error] =\> ActionRequestValidationException[Validation Failed: 1: no  
> > requests added;]  
> > [status] =\> 500  
> > )
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/\_06HsspSbiE/unsubscribe?hl=en-US](https://groups.google.com/d/topic/elasticsearch/_06HsspSbiE/unsubscribe?hl=en-US)  
> > .  
> > To unsubscribe from this group and all its topics, send an email to  
> > [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
Enjoy,  
Alexis Okuwa  
WojonsTech  
424.835.1223

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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 6, 2017, 2:49am UTC](https://discuss.elastic.co/t/-bulk-endopint-fails-when-on-single-index/10862/5 "2017-07-06T02:49:54Z")

</div>


