# Error to connect in a oracle database

**URL:** <https://forum.rasa.com/t/error-to-connect-in-a-oracle-database/11158>\
**Category:** Tutorials, Resources & Videos\
**Created:** [June 7, 2019, 8:43pm UTC](https://forum.rasa.com/t/error-to-connect-in-a-oracle-database/11158 "2019-06-07T20:43:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert14](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@Robert14](https://forum.rasa.com/u/Robert14)\
**Post date:** [June 7, 2019, 8:43pm UTC](https://forum.rasa.com/t/error-to-connect-in-a-oracle-database/11158/1 "2019-06-07T20:43:44Z")

</div>

hello rasa friend i need to connect my rasa bot to a oracle data for save the conversation, but when i write a message to my bot this send me a error…

`2019-06-07 15:51:36 ERROR rasa.core.channels.channel - An exception occured while handling user message 'hello'. Traceback (most recent call last): File "c:\users\capitalminds\appdata\local\programs\python\python36\lib\site-packages\sqlalchemy\engine\base.py", line 1244, in _execute_context cursor, statement, parameters, context File "c:\users\capitalminds\appdata\local\programs\python\python36\lib\site-packages\sqlalchemy\engine\default.py", line 552, in do_execute cursor.execute(statement, parameters) cx_Oracle.IntegrityError: ORA-01400: cannot insert NULL into ("C##RASA"."EVENTS"."ID")`

i´ll check the connection and don´t have any error and i´ll check the tables and everythings is ok if you can help me i appreciate it

regards 😉

---

<div class="post-metadata">

**Author:** ![JiteshGaikwad](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@JiteshGaikwad](https://forum.rasa.com/u/JiteshGaikwad)\
**Post date:** [June 8, 2019, 2:58am UTC](https://forum.rasa.com/t/error-to-connect-in-a-oracle-database/11158/2 "2019-06-08T02:58:54Z")

</div>

hey @Robert14 you need to make some changes to sqlachemy module, you can refer this video I had shown how to do so…

[https://youtu.be/vEN45DbPQlc](https://youtu.be/vEN45DbPQlc)

---

<div class="post-metadata">

**Author:** ![Robert14](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@Robert14](https://forum.rasa.com/u/Robert14)\
**Post date:** [June 10, 2019, 7:59pm UTC](https://forum.rasa.com/t/error-to-connect-in-a-oracle-database/11158/4 "2019-06-10T19:59:46Z")

</div>

hello im found the error and went what i have to create a function in oracle interface because the id don’t entered the data but anyways thanks for your help

😉 regards
