Delete by query api - [FORBIDDEN/8/index write (api)]

Hello,

The version of our Elasticsearch is: 7.8 (Platinum)

I tried to delete some indices by using delete_by_query and I have the following error.

"type" : "cluster_block_exception",
          "reason" : "index [shrink-index-data-000012] blocked by: [FORBIDDEN/8/index write (api)];"

I also checked that I have enough space and the cluster is green with No unassigned shards.
Why am I having this error? How can I delete those documents in this specific index?

/Angelos

Hi

Check if your index is set as readonly

Regards

Hi Kim,

Thank you for your response.

It is not read only.

index.blocks.read_only_allow_delete": "false"

/Angelos

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.