0

We have installing magento2.4.2 with Elasticsearch 7. reindex not running. facing some issues:

Catalog Search index process unknown error:

 {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"name cannot be empty string"}],"type":"illegal_argument_exception","reason":"name cannot be empty string"},"status":400} 
2
  • 1
    Check which product name is empty. Some required field value pass empty to ES. Commented Jul 30, 2021 at 12:07
  • Es mapped and Successfully tested but i run the reindex comments showing this issues. Commented Jul 31, 2021 at 6:57

2 Answers 2

0

Check your ElasticSearch version is that issue of version .

https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements.html

Magento 2.4.2 requires elasticsearch 7.9 .

Check Version using Curl from Command Line

curl -XGET 'http://localhost:9200' 
4
  • now we have using magento2.4.2 and elasticsearch 7.9 but showing same issues. Commented Aug 3, 2021 at 7:52
  • Catalog Search index process unknown error: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"name cannot be empty string"}],"type":"illegal_argument_exception","reason":"name cannot be empty string"},"status":400} Commented Aug 3, 2021 at 7:52
  • now its showing this issues please help on this issues - {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"name cannot be empty string"}],"type":"illegal_argument_exception","reason":"name cannot be empty string"},"status":400} Commented Aug 3, 2021 at 8:39
  • curl -XGET 'elasticsearch-host:9200' please replace the elasticsearch-host and share the output of elasticsearch . Commented Aug 5, 2021 at 16:59
0

I have solved this problem. i have removed without name in unwanted attributes. and run the reindex its working. enter image description here

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.