[DataTable]3 of 15 shards failed

version: 6.5.1
When I use JSON input of DataTable,it throws an error: 3 of 15 shards failed,detail as follows:
JSON input:
{
"script": {
"source": "if(doc['currency.keyword'].value=='AAA'&&doc['country.keyword'].value=='BBB'){return doc.cost.value}"
}
}
ERROR:

Please don't post multiple topics on the same question, it makes it harder for people to assist you :slight_smile:

Let's continue in this topic [DataTable]3 of 15 shards failed