I do not know the percolator syntax, but the above example is not valid JSON. You are missing a "
for the fieldA value and lack a comma at the end of the same line. I would recommend showing a couple of full examples of what is and is not working. It is also usually recommended to specify which version of Elasticsearch you are using.