# Endpoints.yml

**URL:** <https://forum.rasa.com/t/endpoints-yml/13559>\
**Category:** Rasa Open Source\
**Created:** [July 25, 2019, 6:51pm UTC](https://forum.rasa.com/t/endpoints-yml/13559 "2019-07-25T18:51:31Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![catchlui](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@catchlui](https://forum.rasa.com/u/catchlui)\
**Post date:** [July 25, 2019, 6:51pm UTC](https://forum.rasa.com/t/endpoints-yml/13559/1 "2019-07-25T18:51:31Z")

</div>

I am getting the below error ,while trying to initiate dialogue in interactive training mode. But i am able to get result when operating in the shell model.

my endpoints.yml is having the below value. action\_endpoint: url: “[http://localhost:5055/webhook](http://localhost:5055/webhook)”

2019-07-26 00:18:49 ERROR rasa.core.processor - Encountered an exception while running action ‘action\_ticket\_search’. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code. 2019-07-26 00:18:49 DEBUG rasa.core.processor - The model predicted the custom action ‘action\_ticket\_search’ but you didn’t configure an endpoint to run this custom action. Please take a look at the docs and set an endpoint configuration. [https://rasa.com/docs/rasa/core/actions](https://rasa.com/docs/rasa/core/actions) Traceback (most recent call last): File “c:\users\91973\appdata\local\programs\python\python36\lib\site-packages\rasa\core\processor.py”, line 433, in \_run\_action events = await action

---

<div class="post-metadata">

**Author:** ![niveK](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nivek/32/13710_2.png) [@niveK](https://forum.rasa.com/u/niveK)\
**Post date:** [July 26, 2019, 2:12am UTC](https://forum.rasa.com/t/endpoints-yml/13559/2 "2019-07-26T02:12:23Z")

</div>

How are you running your action server? Did you start it before you started the rasa server?

---

<div class="post-metadata">

**Author:** ![catchlui](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@catchlui](https://forum.rasa.com/u/catchlui)\
**Post date:** [July 26, 2019, 4:54am UTC](https://forum.rasa.com/t/endpoints-yml/13559/3 "2019-07-26T04:54:17Z")

</div>

Hi Nivek-

I tried both the sequences .

2019-07-26 10:20:37 ERROR rasa.core.processor - Encountered an exception while running action ‘action\_ticket\_search’. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code. 2019-07-26 10:20:37 DEBUG rasa.core.processor - The model predicted the custom action ‘action\_ticket\_search’ but you didn’t configure an endpoint to run this custom action. Please take a look at the docs and set an endpoint configuration. [https://rasa.com/docs/rasa/core/actions](https://rasa.com/docs/rasa/core/actions) Traceback (most recent call last): File “c:\users\91973\appdata\local\programs\python\python36\lib\site-packages\rasa\core\processor.py”, line 433, in \_run\_action events = await action.run(output\_channel, nlg, tracker, self.domain) File “c:\users\91973\appdata\local\programs\python\python36\lib\asyncio\coroutines.py”, line 110, in **next** return self.gen.send(None) File “c:\users\91973\appdata\local\programs\python\python36\lib\site-packages\rasa\core\actions\action.py”, line 388, in run “”.format(self.name(), DOCS\_BASE\_URL) Exception: The model predicted the custom action ‘action\_ticket\_search’ but you didn’t configure an endpoint to run this custom action. Please take a look at the docs and set an endpoint configuration. [https://rasa.com/docs/rasa/core/actions](https://rasa.com/docs/rasa/core/actions)

Regards Snehashis

---

<div class="post-metadata">

**Author:** ![Juste](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juste/32/15_2.png) [@Juste](https://forum.rasa.com/u/Juste)\
**Post date:** [July 26, 2019, 9:09am UTC](https://forum.rasa.com/t/endpoints-yml/13559/4 "2019-07-26T09:09:29Z")

</div>

Hi @catchlui. You actions server doesn’t seem to be up. You can do it by running:

`rasa run actions`

Once the server is up, you should get the responses

---

<div class="post-metadata">

**Author:** ![SallemiDorsaf](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@SallemiDorsaf](https://forum.rasa.com/u/SallemiDorsaf)\
**Post date:** [July 26, 2019, 10:44am UTC](https://forum.rasa.com/t/endpoints-yml/13559/5 "2019-07-26T10:44:43Z")

</div>

hi @Juste what about this error rasa.core.processor - Encountered an exception while running action ‘action\_get\_answer’. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code. rasa.core.processor - ‘dict’ object has no attribute ‘endswith’ Traceback (most recent call last):

---

<div class="post-metadata">

**Author:** ![catchlui](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@catchlui](https://forum.rasa.com/u/catchlui)\
**Post date:** [July 26, 2019, 1:59pm UTC](https://forum.rasa.com/t/endpoints-yml/13559/6 "2019-07-26T13:59:35Z")

</div>

Need to start these two servers with the below command. That helped me getting rid of the error

rasa interactive -vv --endpoints endpoints.yml rasa run -vv --endpoints endpoints actions

---

<div class="post-metadata">

**Author:** ![SallemiDorsaf](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@SallemiDorsaf](https://forum.rasa.com/u/SallemiDorsaf)\
**Post date:** [July 26, 2019, 2:16pm UTC](https://forum.rasa.com/t/endpoints-yml/13559/7 "2019-07-26T14:16:43Z")

</div>

same error , i guess i have problem in my endpoints.yml but i can’t figure out what

---

<div class="post-metadata">

**Author:** ![im-singh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/im-singh/32/4277_2.png) [@im-singh](https://forum.rasa.com/u/im-singh)\
**Post date:** [July 27, 2019, 12:45am UTC](https://forum.rasa.com/t/endpoints-yml/13559/8 "2019-07-27T00:45:42Z")

</div>

Send pic of error and endpoint file with Google drive link

---

<div class="post-metadata">

**Author:** ![SallemiDorsaf](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@SallemiDorsaf](https://forum.rasa.com/u/SallemiDorsaf)\
**Post date:** [July 27, 2019, 4:40pm UTC](https://forum.rasa.com/t/endpoints-yml/13559/9 "2019-07-27T16:40:26Z")

</div>

@im-singh

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/c/c74699ffbbf32cbfb7db455f16d4abe6739eb940.png) [endpoints.yml](https://forum.rasa.com/uploads/short-url/1DeKDs1y1MbK688xXb0ChedopNY.yml) (57 Bytes)

---

<div class="post-metadata">

**Author:** ![im-singh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/im-singh/32/4277_2.png) [@im-singh](https://forum.rasa.com/u/im-singh)\
**Post date:** [July 28, 2019, 3:37am UTC](https://forum.rasa.com/t/endpoints-yml/13559/10 "2019-07-28T03:37:26Z")

</div>

There is no problem in endpoints file. Problem is in action.py and may be dict object. Please send action.py for more help.

---

<div class="post-metadata">

**Author:** ![SallemiDorsaf](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@SallemiDorsaf](https://forum.rasa.com/u/SallemiDorsaf)\
**Post date:** [July 29, 2019, 7:22am UTC](https://forum.rasa.com/t/endpoints-yml/13559/11 "2019-07-29T07:22:20Z")

</div>

@im-singh  
[actions.py](https://forum.rasa.com/uploads/short-url/AkHbN5qMWUKmpxmEUcRAvLJjyfU.py) (1.4 KB)

---

<div class="post-metadata">

**Author:** ![lahsuk](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/lahsuk/32/3127_2.png) [@lahsuk](https://forum.rasa.com/u/lahsuk)\
**Post date:** [July 29, 2019, 9:32am UTC](https://forum.rasa.com/t/endpoints-yml/13559/12 "2019-07-29T09:32:30Z")

</div>

Hi @SallemiDorsaf ,

I think the problem is in your endpoints file. It should have

```auto
action_endpoint:
  url: "http://localhost:5055/webhook"

```

> Note that the url doesn’t have a trailing slash but yours did. ( I can’t seem to reproduce the same error though.)

You should post your rasa version too if this doesn’t work.

Hope that helps.

---

<div class="post-metadata">

**Author:** ![SallemiDorsaf](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@SallemiDorsaf](https://forum.rasa.com/u/SallemiDorsaf)\
**Post date:** [July 29, 2019, 6:51pm UTC](https://forum.rasa.com/t/endpoints-yml/13559/13 "2019-07-29T18:51:07Z")

</div>

thank you for help I used version 1.1.7 of rasa as soon as I installed version 1.1.6 the problem was fixed
