I am a newbie to ElasticSearch and tried this first one via curl
curl -XPUT "http://localhost:9200/movies/movie/1"; -d'
{
    "title": "The Godfather",
    "director": "Francis Ford Coppola",
    "year": 1972,
    "genres": ["Crime", "Drama"]
}'
But I am getting the following error 
{"error":"MapperParsingException[failed to parse]; nested:
ElasticsearchParseException[Failed to derive xcontent from (offset=0,
length=1): [39]]; ","status":400}curl: (3) [globbing] unmatched brace in
column 1 url: (3) [globbing] bad range in column 72

Could you please tell me where I went wrong






--
View this message in context: 
http://elasticsearch-users.115913.n3.nabble.com/Error-Failed-to-derive-xcontent-tp4056795.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/1401451526445-4056795.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to