# slot\_was\_set not defined

**URL:** <https://forum.rasa.com/t/slot-was-set-not-defined/60237>\
**Category:** Rasa Open Source\
**Created:** [November 15, 2023, 12:51pm UTC](https://forum.rasa.com/t/slot-was-set-not-defined/60237 "2023-11-15T12:51:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![a77](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@a77](https://forum.rasa.com/u/a77)\
**Post date:** [November 15, 2023, 12:51pm UTC](https://forum.rasa.com/t/slot-was-set-not-defined/60237/1 "2023-11-15T12:51:14Z")

</div>

YamlValidationException: Failed to validate ‘data\stories.yml’. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during validation: in data\stories.yml:39: Key ‘slot\_was\_set’ was not defined. Path: ‘/stories/3/steps/5’ in data\stories.yml:39: Key ‘intent’ was not defined. Path: ‘/stories/3/steps/5’ in data\stories.yml:39: Key ‘entities’ was not defined. Path: ‘/stories/3/steps/5’

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [November 15, 2023, 5:52pm UTC](https://forum.rasa.com/t/slot-was-set-not-defined/60237/2 "2023-11-15T17:52:53Z")

</div>

Can you post the yaml? Does it pass a yaml linter tool?
