# Cannot start detector

**URL:** <https://forum.opensearch.org/t/cannot-start-detector/8151>\
**Category:** Alerting\
**Created:** [December 30, 2021, 8:37am UTC](https://forum.opensearch.org/t/cannot-start-detector/8151 "2021-12-30T08:37:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![juv](https://avatars.discourse-cdn.com/v4/letter/j/b3f665/32.png) [@juv](https://forum.opensearch.org/u/juv)\
**Post date:** [December 30, 2021, 8:37am UTC](https://forum.opensearch.org/t/cannot-start-detector/8151/1 "2021-12-30T08:37:26Z")

</div>

Hello!  
when I try to start any detector (a demo one or a custom one)  
I keep getting this error:  
Anomaly detector - startDetector { Error: [illegal\_argument\_exception] Failed to parse value [0] for setting [index.number\_of\_shards] must be \>= 1

using ODFE 1.13.3  
did anyone encounter that error?

---

<div class="post-metadata">

**Author:** ![kris](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/kris/32/2208_2.png) [@kris](https://forum.opensearch.org/u/kris)\
**Post date:** [February 7, 2023, 5:17pm UTC](https://forum.opensearch.org/t/cannot-start-detector/8151/2 "2023-02-07T17:17:38Z")

</div>


