# TransportError when executing rollover action via curator

**URL:** <https://discuss.elastic.co/t/transporterror-when-executing-rollover-action-via-curator/117198>\
**Category:** Elasticsearch\
**Created:** [January 26, 2018, 1:34pm UTC](https://discuss.elastic.co/t/transporterror-when-executing-rollover-action-via-curator/117198 "2018-01-26T13:34:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![allansene](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/allansene/32/26999_2.png) [@allansene](https://discuss.elastic.co/u/allansene)\
**Post date:** [January 26, 2018, 1:34pm UTC](https://discuss.elastic.co/t/transporterror-when-executing-rollover-action-via-curator/117198/1 "2018-01-26T13:34:57Z")

</div>

Guys,

I'm getting this error when executing a rollover action via curator:

`Failed to complete action: rollover. <class 'elasticsearch.exceptions.RequestError'>: TransportError(400, 'illegal_argument_exception', '[elasticsearch-master-03][...][indices:admin/rollover]')`

My action is like:

```
actions:
  1:
    action: rollover
    description: >-
      Rollover the index associated with index 'name', which should be in the
      form of prefix-000001 (or similar), or prefix-YYYY.MM.DD-1.
    options:
      name: api-search
      conditions:
        max_age: 1d

```

Even when I try with `--dry-run` the error happens. Anyone know what could be occasioning this?

Thanks 😄

---

<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:** [February 6, 2018, 8:49am UTC](https://discuss.elastic.co/t/transporterror-when-executing-rollover-action-via-curator/117198/2 "2018-02-06T08:49:30Z")

</div>

Illegal argument? And the name of a master node? Is the cluster healthy? Is there any more log data? A 400 error is definitely telling you the API call is rejected due to something being malformed. Without more context, I don't think I can guess at the answer.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 6, 2018, 8:49am UTC](https://discuss.elastic.co/t/transporterror-when-executing-rollover-action-via-curator/117198/3 "2018-03-06T08:49:39Z")

</div>

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