# Rasa API endpoint not working

**URL:** <https://forum.rasa.com/t/rasa-api-endpoint-not-working/40738>\
**Category:** Rasa Open Source\
**Created:** [March 1, 2021, 12:58pm UTC](https://forum.rasa.com/t/rasa-api-endpoint-not-working/40738 "2021-03-01T12:58:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaish1](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/vaish1/32/8321_2.png) [@vaish1](https://forum.rasa.com/u/vaish1)\
**Post date:** [March 1, 2021, 12:58pm UTC](https://forum.rasa.com/t/rasa-api-endpoint-not-working/40738/1 "2021-03-01T12:58:47Z")

</div>

Hi my Rasa chatbot works well on cli, but I am getting this error while running the endpoint: Requested PostgreSQL schema ‘Unknown event name ‘user\_featurization’.’ was not found in the database. To continue, please create the schema by running ‘CREATE DATABASE Unknown event name ‘user\_featurization’.;’ or unset the ‘POSTGRESQL\_SCHEMA’ environment variable in order to use the default schema. Exiting application.

Rasa version: 2.1.3

Rasa SDK Version : 2.1.2

Rasa X Version : 0.34.0

Python Version : 3.7.5

Any help much appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![m-vdb](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/m-vdb/32/10526_2.png) [@m-vdb](https://forum.rasa.com/u/m-vdb)\
**Post date:** [April 28, 2021, 9:20am UTC](https://forum.rasa.com/t/rasa-api-endpoint-not-working/40738/2 "2021-04-28T09:20:10Z")

</div>

Hello @vaish1 and thanks for your question!

Would you be able to share the full stacktrace as well as some elements of your config (i.e. the database part)? What’s weird is that `Unknown event name ‘user_featurization’.` is actually the message of an exception we raise [here in the code](https://github.com/RasaHQ/rasa/blob/78fce3bf922f4ea99c9cb5f3355ba583502305ee/rasa/shared/core/events.py#L315).

---

<div class="post-metadata">

**Author:** ![iszainab](https://avatars.discourse-cdn.com/v4/letter/i/ad7895/32.png) [@iszainab](https://forum.rasa.com/u/iszainab)\
**Post date:** [November 10, 2021, 5:59pm UTC](https://forum.rasa.com/t/rasa-api-endpoint-not-working/40738/3 "2021-11-10T17:59:28Z")

</div>

Hi.

@vaish1 do we know how was this resolved?

---

<div class="post-metadata">

**Author:** ![mysoresrinidhi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mysoresrinidhi/32/18593_2.png) [@mysoresrinidhi](https://forum.rasa.com/u/mysoresrinidhi)\
**Post date:** [December 13, 2021, 6:40am UTC](https://forum.rasa.com/t/rasa-api-endpoint-not-working/40738/4 "2021-12-13T06:40:57Z")

</div>

Hello @m-vdb , I am seeing the same error in my cloud-run logs as @vaish1 . Any suggestion on how to resolve the issue?

---

<div class="post-metadata">

**Author:** ![m-vdb](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/m-vdb/32/10526_2.png) [@m-vdb](https://forum.rasa.com/u/m-vdb)\
**Post date:** [December 13, 2021, 8:59am UTC](https://forum.rasa.com/t/rasa-api-endpoint-not-working/40738/5 "2021-12-13T08:59:21Z")

</div>

Thanks for bumping this. It would be helpful if you could share a full stacktrace and your config for the database (please hide the secrets) 🙏
