Import Error "expected START_OBJECT or END_OBJECT but found [VALUE_NUMBER]"

I want to import Mysql data into elasricsearch.
But get an error in the middle of import.
I running as rake task( model_name.import ) after create index.

rake aborted!
Elasticsearch::Transport::Transport::Errors::BadRequest: [400] {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Malformed action/metadata line [417], expected START_OBJECT or END_OBJECT but found [VALUE_NUMBER]"}],"type":"illegal_argument_exception","reason":"Malformed action/metadata line [417], expected START_OBJECT or END_OBJECT but found [VALUE_NUMBER]"},"status":400}

I do not know the cause.

My elasticsearch's is stable 2.2.0, HEAD.

The error message is telling you that on line 417 of the bulk you have a number where one doesn't make sense. The line is invalid json. I can't help with the ruby/rake stuff, but maybe you can go from there?