{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9469","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9469/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9469/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9469/events","html_url":"https://github.com/elasticsearch/elasticsearch/issues/9469","id":55793207,"number":9469,"title":"\"Malformed scrollId\" exception","user":{"login":"p-run","id":10403413,"avatar_url":"https://avatars.githubusercontent.com/u/10403413?v=3","gravatar_id":"","url":"https://api.github.com/users/p-run","html_url":"https://github.com/p-run","followers_url":"https://api.github.com/users/p-run/followers","following_url":"https://api.github.com/users/p-run/following{/other_user}","gists_url":"https://api.github.com/users/p-run/gists{/gist_id}","starred_url":"https://api.github.com/users/p-run/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p-run/subscriptions","organizations_url":"https://api.github.com/users/p-run/orgs","repos_url":"https://api.github.com/users/p-run/repos","events_url":"https://api.github.com/users/p-run/events{/privacy}","received_events_url":"https://api.github.com/users/p-run/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-28T18:11:26Z","updated_at":"2015-01-29T15:19:28Z","closed_at":"2015-01-29T14:42:38Z","body":"I am trying to use elasticdump (https://www.npmjs.com/package/elasticdump) to dump/restore elasticsearch data. One elasticdump invocation yields the following:\r\n\r\n<pre>\r\n% elasticdump --input=http://localhost:9200/ --output=\\$ \r\nWed, 28 Jan 2015 18:07:28 GMT | {\"error\":\"ElasticsearchIllegalArgumentException[Malformed scrollId []]\",\"status\":400}\r\n[\r\n]\r\n</pre>\r\n\r\nWhat is a scrollId and why is it malformed? Google is of no help in understanding this error message.\r\n\r\nThis exception seems like a low-level one. It should be caught by higher level code and converted to a more meaningful error message, like, say, \"index was not specified\"."},"comment":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/comments/72041783","html_url":"https://github.com/elasticsearch/elasticsearch/issues/9469#issuecomment-72041783","issue_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/9469","id":72041783,"user":{"login":"p-run","id":10403413,"avatar_url":"https://avatars.githubusercontent.com/u/10403413?v=3","gravatar_id":"","url":"https://api.github.com/users/p-run","html_url":"https://github.com/p-run","followers_url":"https://api.github.com/users/p-run/followers","following_url":"https://api.github.com/users/p-run/following{/other_user}","gists_url":"https://api.github.com/users/p-run/gists{/gist_id}","starred_url":"https://api.github.com/users/p-run/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p-run/subscriptions","organizations_url":"https://api.github.com/users/p-run/orgs","repos_url":"https://api.github.com/users/p-run/repos","events_url":"https://api.github.com/users/p-run/events{/privacy}","received_events_url":"https://api.github.com/users/p-run/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T15:19:28Z","updated_at":"2015-01-29T15:19:28Z","body":"This exception seems to occur when I am trying to dump an empty elasticsearch instance, leading me to think that an excessively long scrollid due to huge shard count is probably not the cause.\r\n\r\nIn fact, looking at the code in https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/action/search/type/TransportSearchHelper.java and the error message again, the scrollid is empty, and this can be checked for and helpfully reported."}}