# Rasa 3.x YamlValidationException: Failed to validate

**URL:** <https://forum.rasa.com/t/rasa-3-x-yamlvalidationexception-failed-to-validate/51188>\
**Category:** Getting Started with Rasa\
**Created:** [February 8, 2022, 6:07am UTC](https://forum.rasa.com/t/rasa-3-x-yamlvalidationexception-failed-to-validate/51188 "2022-02-08T06:07:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![duanzhihua](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/duanzhihua/32/18801_2.png) [@duanzhihua](https://forum.rasa.com/u/duanzhihua)\
**Post date:** [February 8, 2022, 6:07am UTC](https://forum.rasa.com/t/rasa-3-x-yamlvalidationexception-failed-to-validate/51188/1 "2022-02-08T06:07:15Z")

</div>

Hi，I’m testing rasa 3 X financial case encountered an error, can you help support it?

```auto
(installingrasa) E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main>rasa --version
Rasa Version : 3.0.6
Minimum Compatible Version: 3.0.0
Rasa SDK Version : 3.0.4
Rasa X Version : None
Python Version : 3.8.8
Operating System : Windows-10-10.0.18362-SP0
Python Path : e:\anaconda3\envs\installingrasa\python.exe

(installingrasa) E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main> rasa data validate
YamlValidationException: Failed to validate 'E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml'. Please make sure the file is correct
and all mandatory parameters are specified. Here are the errors found during validation:
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:47:
      Cannot find required key 'mappings'. Path: '/slots/AA_CONTINUE_FORM'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:50:
      Cannot find required key 'mappings'. Path: '/slots/PERSON'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:53:
      Cannot find required key 'mappings'. Path: '/slots/account_type'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:56:
      Cannot find required key 'mappings'. Path: '/slots/amount-of-money'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:59:
      Cannot find required key 'mappings'. Path: '/slots/amount_transferred'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:63:
      Cannot find required key 'mappings'. Path: '/slots/credit_card'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:66:
      Cannot find required key 'mappings'. Path: '/slots/currency'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:70:
      Cannot find required key 'mappings'. Path: '/slots/end_time'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:73:
      Cannot find required key 'mappings'. Path: '/slots/end_time_formatted'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:76:
      Cannot find required key 'mappings'. Path: '/slots/grain'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:79:
      Cannot find required key 'mappings'. Path: '/slots/handoff_to'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:82:
      Cannot find required key 'mappings'. Path: '/slots/next_form_name'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:85:
      Cannot find required key 'mappings'. Path: '/slots/number'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:88:
      Cannot find required key 'mappings'. Path: '/slots/payment_amount_type'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:92:
      Cannot find required key 'mappings'. Path: '/slots/previous_form_name'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:95:
      Cannot find required key 'mappings'. Path: '/slots/repeated_validation_failures'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:98:
      Cannot find required key 'mappings'. Path: '/slots/requested_slot'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:101:
      Cannot find required key 'mappings'. Path: '/slots/search_type'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:104:
      Cannot find required key 'mappings'. Path: '/slots/start_time'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:107:
      Cannot find required key 'mappings'. Path: '/slots/start_time_formatted'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:110:
      Cannot find required key 'mappings'. Path: '/slots/time'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:113:
      Cannot find required key 'mappings'. Path: '/slots/time_formatted'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:116:
      Cannot find required key 'mappings'. Path: '/slots/vendor_name'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:119:
      Cannot find required key 'mappings'. Path: '/slots/zz_confirm_form'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:284:
      Value 'ordereddict([('AA_CONTINUE_FORM', [ordereddict([('intent', 'affirm'), ('type', 'from_intent'), ('value', 'yes')]), ordereddict([('intent', 'de
ny'), ('type', 'from_intent'), ('value', 'no')]), ordereddict([('intent', ['inform', 'cc_payment_form']), ('type', 'from_text')])]), ('credit_card', [order
eddict([('entity', 'credit_card'), ('type', 'from_entity')]), ordereddict([('intent', ['inform', 'cc_payment_form']), ('type', 'from_text')])]), ('amount-o
f-money', [ordereddict([('entity', 'amount-of-money'), ('not_intent', ['check_balance', 'check_earnings']), ('type', 'from_entity')]), ordereddict([('entit
y', 'number'), ('not_intent', ['check_balance', 'check_earnings']), ('type', 'from_entity')]), ordereddict([('intent', ['inform', 'cc_payment_form']), ('ty
pe', 'from_text')])]), ('time', [ordereddict([('entity', 'time'), ('type', 'from_entity')]), ordereddict([('intent', ['inform', 'cc_payment_form']), ('type
', 'from_text')])]), ('zz_confirm_form', [ordereddict([('intent', 'affirm'), ('type', 'from_intent'), ('value', 'yes')]), ordereddict([('intent', 'deny'),
('type', 'from_intent'), ('value', 'no')]), ordereddict([('intent', ['inform', 'cc_payment_form']), ('type', 'from_text')])])])' is not a list. Value path:
 '/forms/cc_payment_form/required_slots'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:337:
      Value 'ordereddict([('AA_CONTINUE_FORM', [ordereddict([('intent', 'affirm'), ('type', 'from_intent'), ('value', 'yes')]), ordereddict([('intent', 'de
ny'), ('type', 'from_intent'), ('value', 'no')]), ordereddict([('intent', ['inform', 'transfer_money_form']), ('type', 'from_text')])]), ('PERSON', [ordere
ddict([('entity', 'PERSON'), ('type', 'from_entity')]), ordereddict([('intent', ['inform', 'transfer_money_form']), ('type', 'from_text')])]), ('amount-of-
money', [ordereddict([('entity', 'amount-of-money'), ('not_intent', ['check_balance', 'check_earnings']), ('type', 'from_entity')]), ordereddict([('entity'
, 'number'), ('not_intent', ['check_balance', 'check_earnings']), ('type', 'from_entity')]), ordereddict([('intent', ['inform', 'transfer_money_form']), ('
type', 'from_text')])]), ('zz_confirm_form', [ordereddict([('intent', 'affirm'), ('type', 'from_intent'), ('value', 'yes')]), ordereddict([('intent', 'deny
'), ('type', 'from_intent'), ('value', 'no')]), ordereddict([('intent', ['inform', 'transfer_money_form']), ('type', 'from_text')])])])' is not a list. Val
ue path: '/forms/transfer_money_form/required_slots'
  in E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main\domain.yml:383:
      Value 'ordereddict([('AA_CONTINUE_FORM', [ordereddict([('intent', 'affirm'), ('type', 'from_intent'), ('value', 'yes')]), ordereddict([('intent', 'de
ny'), ('type', 'from_intent'), ('value', 'no')]), ordereddict([('intent', ['inform', 'transaction_search_form']), ('type', 'from_text')])]), ('search_type'
, [ordereddict([('intent', 'search_transactions'), ('type', 'from_trigger_intent'), ('value', 'spend')]), ordereddict([('intent', 'check_earnings'), ('type
', 'from_trigger_intent'), ('value', 'deposit')]), ordereddict([('type', 'from_entity'), ('entity', 'search_type')])]), ('time', [ordereddict([('entity', '
time'), ('type', 'from_entity')]), ordereddict([('intent', ['inform', 'transaction_search_form']), ('type', 'from_text')])]), ('zz_confirm_form', [orderedd
ict([('intent', 'affirm'), ('type', 'from_intent'), ('value', 'yes')]), ordereddict([('intent', 'deny'), ('type', 'from_intent'), ('value', 'no')]), ordere
ddict([('intent', ['inform', 'transaction_search_form']), ('type', 'from_text')])])])' is not a list. Value path: '/forms/transaction_search_form/required_
slots'

```

[domain.yml](https://forum.rasa.com/uploads/short-url/yhLXYcqP0TfrJA2cYgdoNBHYnEG.yml) (11.8 KB)

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [February 8, 2022, 10:29am UTC](https://forum.rasa.com/t/rasa-3-x-yamlvalidationexception-failed-to-validate/51188/2 "2022-02-08T10:29:55Z")

</div>

Hello @duanzhihua the one you trying to run is developed in 2.X and you are running the boto on 3.X, make the necessary changes in the code as per the latest rasa, you are good to go.

---

<div class="post-metadata">

**Author:** ![duanzhihua](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/duanzhihua/32/18801_2.png) [@duanzhihua](https://forum.rasa.com/u/duanzhihua)\
**Post date:** [February 9, 2022, 1:15am UTC](https://forum.rasa.com/t/rasa-3-x-yamlvalidationexception-failed-to-validate/51188/3 "2022-02-09T01:15:52Z")

</div>

Thank you for your guidance. I ran the data migration command according to the official website documents. The problem has been solved. Thank you

```auto

(installingrasa) E:\starspace\GavinNLP\2022_rasa_example\financial-demo-main>rasa data migrate

```

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [February 9, 2022, 4:20pm UTC](https://forum.rasa.com/t/rasa-3-x-yamlvalidationexception-failed-to-validate/51188/4 "2022-02-09T16:20:10Z")

</div>

@duanzhihua great can you please close this thread for your reference and for others. Good Luck!
