# Curator example not taking action & w/error

**URL:** <https://discuss.elastic.co/t/curator-example-not-taking-action-w-error/125766>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [March 27, 2018, 1:46pm UTC](https://discuss.elastic.co/t/curator-example-not-taking-action-w-error/125766 "2018-03-27T13:46:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [March 27, 2018, 2:03pm UTC](https://discuss.elastic.co/t/curator-example-not-taking-action-w-error/125766/2 "2018-03-27T14:03:49Z")

</div>

Please format your code, logs or configuration files using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and not the citation button. It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.  
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.

With that said,

> [@gigabyte](#):
>
> ```auto
> 2018-03-27 09:35:03,401 ERROR curator.cli run:184 Failed to complete action: close. <class 'curator.exceptions.FailedExecution'>: Exception encountered. Rerun with loglevel DEBUG and/or check Elasticsearch logs for more information. Exception: TransportError(403, 'cluster_block_exception', 'blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];')
> 
> ```

The error you provide here suggests security permissions are not sufficient to delete one of the indices as the user you logged in as.

Please still edit your post as described to make it more readable.

---

_[View the full topic](https://discuss.elastic.co/t/curator-example-not-taking-action-w-error/125766)._
