# 'IntegrityError', My bot on Rasa X doesn't respond

**URL:** <https://forum.rasa.com/t/integrityerror-my-bot-on-rasa-x-doesnt-respond/29793>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [June 5, 2020, 3:27am UTC](https://forum.rasa.com/t/integrityerror-my-bot-on-rasa-x-doesnt-respond/29793 "2020-06-05T03:27:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nadamakram](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nadamakram](https://forum.rasa.com/u/nadamakram)\
**Post date:** [June 5, 2020, 3:27am UTC](https://forum.rasa.com/t/integrityerror-my-bot-on-rasa-x-doesnt-respond/29793/1 "2020-06-05T03:27:11Z")

</div>

I am using Rasa X locally, I installed it using: pip install rasa-x --extra-index-url [Simple Index](https://pypi.rasa.com/simple) and when I write, it recognizes the intent but doesn’t respond and I got this message:

```auto
**"WARNING:rasax.community.services.event_consumers.event_consumer:Saving event failed due to an 'IntegrityError'. This means that the event is already stored in the database. The event data was '{"sender_id": "604947a487904776b1538c8dc363f10e", "event": "action", "timestamp": 1591326887.867574, "name": "action_listen", "policy": null, "confidence": null}'. (sqlite3.IntegrityError) UNIQUE constraint failed: conversation_event.conversation_id, conversation_event.timestamp, conversation_event.type_name**
**[SQL: INSERT INTO conversation_event (conversation_id, type_name, timestamp, intent_name, action_name, slot_name, slot_value, policy, is_flagged, data, evaluation, rasa_environment) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]**
**[parameters: ('604947a487904776b1538c8dc363f10e', 'action', 1591326887.867574, None, 'action_listen', None, None, None, 0, '{"sender_id": "604947a487904776b1538c8dc363f10e", "event": "action", "timestamp": 1591326887.867574, "name": "action_listen", "policy": null, "confidence": null}', None, 'production')]**
**(Background on this error at: http://sqlalche.me/e/gkpj)"**

```

**update:**  
here’s the conversation

 ![bot1](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/3/308c4bc23f310940a3239d3a7fcb392c0c5cff89.png) ![bot2](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/7/7112a0eb8a3437fa11514c74fa9f586edfed4562.png)  
it should respond after this but action\_listen is activated!  
and here what I got after writing to the chatbot on the command: ![3](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/7/7d7ec503d28a3436b805467596d68d9294916f28.png)

I deleted rasa.db and events.db and still getting the same error, I also created a new project and copied needed files and also I am getting the same error!  
note: bot was working perfectly using rasa shell  
any help, please?

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [June 8, 2020, 12:36pm UTC](https://forum.rasa.com/t/integrityerror-my-bot-on-rasa-x-doesnt-respond/29793/2 "2020-06-08T12:36:12Z")

</div>

Hm, seems for some reason the `action_listen` is getting duplicated and that can’t be saved into rasa x 🤔 what is the result of `pip list | grep rasa`?

---

<div class="post-metadata">

**Author:** ![nadamakram](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nadamakram](https://forum.rasa.com/u/nadamakram)\
**Post date:** [June 8, 2020, 7:17pm UTC](https://forum.rasa.com/t/integrityerror-my-bot-on-rasa-x-doesnt-respond/29793/3 "2020-06-08T19:17:30Z")

</div>

Actually, I am using windows 10 and anaconda so I can’t make this command but I searched for an alternative of grep and here are screenshots

 ![r1](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/c/cff78fb9611549152b4ddd0b8f6b8563de64e29e.png) ![r2](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/4/4224668efb180ec82451bcbaf5c01c193783f638.png)

I have another question please, when I was searching on the community I found that topic that may be similar to my issue [Could not save event of type 'action' with timestamp - #8 by athenasaurav](http://forum.rasa.com/t/could-not-save-event-of-type-action-with-timestamp/26430/8) and there’s a reply that says it’s an issue on windows 10, so is this my problem? using Rasa X on windows 10?@erohmensing

---

<div class="post-metadata">

**Author:** ![nadamakram](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nadamakram](https://forum.rasa.com/u/nadamakram)\
**Post date:** [June 8, 2020, 10:54pm UTC](https://forum.rasa.com/t/integrityerror-my-bot-on-rasa-x-doesnt-respond/29793/4 "2020-06-08T22:54:15Z")

</div>

@erohmensingHello Ella, I updated the topic with some screenshots after running again. kindly check them.

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [June 16, 2020, 12:24pm UTC](https://forum.rasa.com/t/integrityerror-my-bot-on-rasa-x-doesnt-respond/29793/5 "2020-06-16T12:24:20Z")

</div>

> [@nadamakram](#):
>
> I found that topic that may be similar to my issue [Could not save event of type ‘action’ with timestamp](http://forum.rasa.com/t/could-not-save-event-of-type-action-with-timestamp/26430/8) and there’s a reply that says it’s an issue on windows 10, so is this my problem? using Rasa X on windows 10?

Interesting, does seem like that is the issue. Follow that thread there, I will check to see the status of the issue.

---

<div class="post-metadata">

**Author:** ![Sheik](https://avatars.discourse-cdn.com/v4/letter/s/d2c977/32.png) [@Sheik](https://forum.rasa.com/u/Sheik)\
**Post date:** [September 14, 2020, 1:23pm UTC](https://forum.rasa.com/t/integrityerror-my-bot-on-rasa-x-doesnt-respond/29793/6 "2020-09-14T13:23:38Z")

</div>

Were you able to find the solution, i have the same issue with rasa 1.10 and Rasa x 0.32
