# Create rules error

**URL:** <https://discuss.elastic.co/t/create-rules-error/314993>\
**Category:** Elastic Security\
**Created:** [September 23, 2022, 6:31am UTC](https://discuss.elastic.co/t/create-rules-error/314993 "2022-09-23T06:31:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhixiang\_hao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zhixiang_hao/32/101559_2.png) [@zhixiang\_hao](https://discuss.elastic.co/u/zhixiang_hao)\
**Post date:** [September 23, 2022, 6:31am UTC](https://discuss.elastic.co/t/create-rules-error/314993/1 "2022-09-23T06:31:06Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/1/2/12783fb46b78e8227aef392ea09b85c0121532cf.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/6/c6784e3a269dc604c9f1448bb54c992db0fd9ff9.png)  
There is no problem in the test on the platform, and the alarm can be reported normally, but an error is reported when I create a rule

---

<div class="post-metadata">

**Author:** ![Pedro\_Jaramillo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pedro_jaramillo/32/45904_2.png) [@Pedro\_Jaramillo](https://discuss.elastic.co/u/Pedro_Jaramillo)\
**Post date:** [September 29, 2022, 8:24pm UTC](https://discuss.elastic.co/t/create-rules-error/314993/2 "2022-09-29T20:24:44Z")

</div>

Hi @zhixiang_hao, thank you for reporting this. Are you trying to create a rule via the API, if so, what is the command that you are running? Also, what version of the product are you using?

---

<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:** [October 27, 2022, 8:24pm UTC](https://discuss.elastic.co/t/create-rules-error/314993/3 "2022-10-27T20:24:53Z")

</div>

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