Error creating a new index : validation failed maximum shards open

I need to create a new index and get the following error:
Could you please help?

command: POST /myindex1213/_doc

error message:
validatiion failed 1: this action would add [2] total shards, but this cluster currently has [5000]/[5000] maxmimum shards open

My version is: 7.5


As the message says, you can not create a new index.
You would need first to remove non needed indices if any.

Welcome to our community! :smiley:

Please upgrade, this is a very very old version that is EOL and no longer supported.

What is the output from the _cluster/stats?pretty&human API?

Thanks very much!
I solved the problem by deleting unused indexes and that freed room for new shards.

‫בתאריך יום ה׳, 10 בנוב׳ 2022 ב-1:01 מאת ‪Mark Walkom via Discuss the Elastic Stack‬‏ <‪‬‏>:‬