Error "Failed to derive xcontent"

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

It seems to work for me. I'd try typing this character by character
straight into the command line just to make sure nothing "invisible" is
interfering with the text. This sometimes happens when I copy-paste from a
different app into the shell command line.

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
To view this discussion on the web visit
For more options, visit