# Rasa\_sdk.interfaces - Tried to access non existent slot 'requested\_slot'

**URL:** <https://forum.rasa.com/t/rasa-sdk-interfaces-tried-to-access-non-existent-slot-requested-slot/26545>\
**Category:** Rasa Open Source\
**Created:** [March 25, 2020, 1:34pm UTC](https://forum.rasa.com/t/rasa-sdk-interfaces-tried-to-access-non-existent-slot-requested-slot/26545 "2020-03-25T13:34:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![z.fallahn](https://avatars.discourse-cdn.com/v4/letter/z/91b2a8/32.png) [@z.fallahn](https://forum.rasa.com/u/z.fallahn)\
**Post date:** [March 25, 2020, 1:34pm UTC](https://forum.rasa.com/t/rasa-sdk-interfaces-tried-to-access-non-existent-slot-requested-slot/26545/1 "2020-03-25T13:34:24Z")

</div>

rasa-x 0.24.7 rasa 1.6.1 rasa-sdk 1.6.1 Python 3.6.5 Operating system: Ubuntu

Everything was fine until yesterday I trained a new model. I tried to test the new model with a form. The form was activated correctly but there was a strange problem answering a slot question! I answered correctly but again asked the same question! It had fallen into an infinite loop! Through the dashboard, I disabled the new model and activated the previous one. I answered the slot question and got out of the loop and everything was back to normal! I also saw these during the issue in the app log:

```auto
app_1 | 2020-03-25 10:28:10 INFO rasa_sdk.interfaces - Tried to access non existent slot 'requested_slot'
app_1 | 2020-03-25 10:28:10 INFO rasa_sdk.interfaces - Tried to access non existent slot 'requested_slot'
app_1 | 2020-03-25 10:28:23 INFO rasa_sdk.interfaces - Tried to access non existent slot 'requested_slot'
app_1 | 2020-03-25 10:28:23 INFO rasa_sdk.interfaces - Tried to access non existent slot 'requested_slot'
app_1 | 2020-03-25 10:29:02 INFO rasa_sdk.interfaces - Tried to access non existent slot 'requested_slot'
app_1 | 2020-03-25 10:29:02 INFO rasa_sdk.interfaces - Tried to access non existent slot 'requested_slot'
app_1 | 2020-03-25 10:29:18 INFO rasa_sdk.interfaces - Tried to access non existent slot 'requested_slot'

```

Changes applied to the new model:

- Change the response of one of the templates
- Add some nlu training samples

I have been training the new model several times today but this problem has happened every time. The previous model is completely healthy. What do you think is the message in the log and where is the problem? Do you have any idea where the problem is? Did changing the template response cause this problem?

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [March 27, 2020, 2:27pm UTC](https://forum.rasa.com/t/rasa-sdk-interfaces-tried-to-access-non-existent-slot-requested-slot/26545/2 "2020-03-27T14:27:57Z")

</div>

Welcome to the community @z.fallahn. This seems like the model doesn’t have the `FormPolicy` configured. Can you please share your `config.yml`?

---

<div class="post-metadata">

**Author:** ![z.fallahn](https://avatars.discourse-cdn.com/v4/letter/z/91b2a8/32.png) [@z.fallahn](https://forum.rasa.com/u/z.fallahn)\
**Post date:** [March 27, 2020, 3:29pm UTC](https://forum.rasa.com/t/rasa-sdk-interfaces-tried-to-access-non-existent-slot-requested-slot/26545/3 "2020-03-27T15:29:24Z")

</div>

Thanks. This is my `config.yml` file:

```auto
language: fa
pipeline:
- name: WhitespaceTokenizer
- name: CRFEntityExtractor
- name: EntitySynonymMapper
- name: CountVectorsFeaturizer
- name: EmbeddingIntentClassifier
- name: datetime_parser.DatetimeParser
- name: clean_entities.EntityCleaner
- name: ner_regex.RegexNERExtractor
policies:
- name: MappingPolicy
- name: KerasPolicy
- name: FormPolicy
- name: FallbackPolicy
  nlu_threshold: 0.7
  core_threshold: 0.7
  fallback_action_name: action_not_clear_query

```

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [April 6, 2020, 7:05am UTC](https://forum.rasa.com/t/rasa-sdk-interfaces-tried-to-access-non-existent-slot-requested-slot/26545/4 "2020-04-06T07:05:42Z")

</div>

And the form is specified under `forms` in the domain file?

---

<div class="post-metadata">

**Author:** ![z.fallahn](https://avatars.discourse-cdn.com/v4/letter/z/91b2a8/32.png) [@z.fallahn](https://forum.rasa.com/u/z.fallahn)\
**Post date:** [April 6, 2020, 12:34pm UTC](https://forum.rasa.com/t/rasa-sdk-interfaces-tried-to-access-non-existent-slot-requested-slot/26545/5 "2020-04-06T12:34:15Z")

</div>

Yes. My domain file looks like this:

```auto
intents:
...
entities:
...
slots:
...
templates:
...
actions:
...
forms:
...

```

By the way, I tried to restart containers by `docker restart` command but it didn’t solve my problem. After that, I tried `docker build && docker up -d` command and the problem was solved! It’s very strange to me. Template response changed successfully. The problem is solved and everything is back to normal. What do you think?

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [April 9, 2020, 9:39am UTC](https://forum.rasa.com/t/rasa-sdk-interfaces-tried-to-access-non-existent-slot-requested-slot/26545/6 "2020-04-09T09:39:58Z")

</div>

So `docker build` did rebuild your action server image?

---

<div class="post-metadata">

**Author:** ![z.fallahn](https://avatars.discourse-cdn.com/v4/letter/z/91b2a8/32.png) [@z.fallahn](https://forum.rasa.com/u/z.fallahn)\
**Post date:** [April 11, 2020, 3:02pm UTC](https://forum.rasa.com/t/rasa-sdk-interfaces-tried-to-access-non-existent-slot-requested-slot/26545/7 "2020-04-11T15:02:12Z")

</div>

Yes. I forced it to rebuild `rasa-x`, `rasa-worker`, `rasa-production` and `app`.

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [April 14, 2020, 11:55am UTC](https://forum.rasa.com/t/rasa-sdk-interfaces-tried-to-access-non-existent-slot-requested-slot/26545/8 "2020-04-14T11:55:04Z")

</div>

Ah, seems Docker used an old cached version then and didn’t add the new model.
