org.elasticsearch.action.ActionRequestValidationException: Validation Failed: 1: no requests added;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by andypl78
, 1 year ago
Validation Failed: 1: no requests added;
via Google Groups by C.K.R.VIJAY Krishna, 2 years ago
Validation Failed: 1: no requests added;
via GitHub by PatrickSauts
, 2 years ago
Validation Failed: 1: no requests added;
via Stack Overflow by Ramaraj Karuppusamy
, 1 year ago
Validation Failed: 1: no requests added;
via scriptscoop.com by Unknown author, 2 years ago
via GitHub by blavenie
, 1 month ago
Validation Failed: 1: Refresh is not supported on an item request, set the refresh flag on the BulkRequest instead.;2: script or doc is missing;3: Refresh is not supported on an item request, set the refresh flag on the BulkRequest instead.;4: script or doc is missing;
org.elasticsearch.action.ActionRequestValidationException: Validation Failed: 1: no requests added;
at org.elasticsearch.action.ValidateActions.addValidationError(ValidateActions.java:29)
at org.elasticsearch.action.bulk.BulkRequest.validate(BulkRequest.java:476)
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:67)
at org.elasticsearch.client.node.NodeClient.execute(NodeClient.java:98)
at org.elasticsearch.client.support.AbstractClient.bulk(AbstractClient.java:167)
at org.elasticsearch.action.bulk.BulkRequestBuilder.doExecute(BulkRequestBuilder.java:166)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:91)
at de.komoot.photon.elasticsearch.Updater.updateDocuments(Updater.java:64)
at de.komoot.photon.elasticsearch.Updater.finish(Updater.java:30)
at de.komoot.photon.nominatim.NominatimUpdater.update(NominatimUpdater.java:65)
at de.komoot.photon.App$1$1.run(App.java:159)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.