# An unexpected error occurred during training. Error: Failed to validate '/tmp/tmpz5jmhhr9/data.yml'

**URL:** <https://forum.rasa.com/t/an-unexpected-error-occurred-during-training-error-failed-to-validate-tmp-tmpz5jmhhr9-data-yml/60886>\
**Category:** Rasa Open Source\
**Created:** [January 29, 2024, 4:24am UTC](https://forum.rasa.com/t/an-unexpected-error-occurred-during-training-error-failed-to-validate-tmp-tmpz5jmhhr9-data-yml/60886 "2024-01-29T04:24:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![icedreamer-praveen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/icedreamer-praveen/32/23843_2.png) [@icedreamer-praveen](https://forum.rasa.com/u/icedreamer-praveen)\
**Post date:** [January 29, 2024, 4:24am UTC](https://forum.rasa.com/t/an-unexpected-error-occurred-during-training-error-failed-to-validate-tmp-tmpz5jmhhr9-data-yml/60886/1 "2024-01-29T04:24:25Z")

</div>

here is the payload data i am using to train the rasa model. I got this error while training data ERROR rasa.server - An unexpected error occurred during training. Error: Failed to validate ‘/tmp/tmpz5jmhhr9/data.yml’. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during validation: in /tmp/tmpz5jmhhr9/data.yml:1111: Value ‘act’ is not a dict. Value path: ‘/stories/26/steps/1’

pipeline:

- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer OOV\_token: oov
- name: CountVectorsFeaturizer analyzer: char\_wb min\_ngram: 1 max\_ngram: 4
- name: DIETClassifier epochs: 100 constrain\_similarities: True
- name: EntitySynonymMapper
- name: ResponseSelector epochs: 100 constrain\_similarities: True
- name: FallbackClassifier threshold: 0.75 ambiguity\_threshold: 0.4

policies:

- name: MemoizationPolicy
- name: TEDPolicy max\_history: 5 epochs: 50 constrain\_similarities: True
- name: RulePolicy core\_fallback\_threshold: 0.5 core\_fallback\_action\_name: action\_cust\_act enable\_fallback\_prediction: True assistant\_id: 20230515-181234-simple-spec language: en recipe: default.v1

intents:

- receive\_money\_in another\_currency
- update\_personal\_details
- account\_statement
- forgotten\_mpin\_issues
- Phone\_stolen\_or\_Lost\_issues
- e\_kyc
- personal\_data
- Account\_related\_queries
- Deposits\_and\_Withdrawals
- Security\_issue
- General\_banking
- Onboarding\_Customers
- Simplified\_KYC
- Products\_and\_services\_offered
- Navigating\_through\_the\_app
- on\_startup
- after\_greet
- greeting
- goodbye
- goal
- send\_money
- about\_chatbot
- bot\_challenge
- receive\_money
- charges\_for\_sending\_money
- user\_transfer\_OrangeNXT
- add\_money\_OrangeNXT
- about\_OrangeNXT
- first\_login
- balance\_inquiry
- Goal\_Based\_Deposit
- qr\_payment
- Fixed\_deposit
- out\_of\_scope

entities: slots: intent\_list: type: list influence\_conversation: false mappings: - type: custom

actions:

- action\_cust\_act

forms: {}

e2e\_actions:

session\_config: session\_expiration\_time: 60 carry\_over\_slots\_to\_new\_session: True

nlu:

- intent: receive\_money\_in another\_currency examples: |

- intent: update\_personal\_details examples: |

- intent: account\_statement examples: |

- intent: forgotten\_mpin\_issues examples: |

- intent: Phone\_stolen\_or\_Lost\_issues examples: |

- intent: e\_kyc examples: |

- intent: personal\_data examples: |

- intent: Account\_related\_queries examples: |

- intent: Deposits\_and\_Withdrawals examples: |

- intent: Security\_issue examples: |

- intent: General\_banking examples: |

- intent: Onboarding\_Customers examples: |

- intent: Simplified\_KYC examples: |

- intent: Products\_and\_services\_offered examples: |

- intent: Navigating\_through\_the\_app examples: |

- intent: on\_startup examples: |

- intent: after\_greet examples: |

- intent: greeting examples: |

- intent: goodbye examples: |

- intent: goal examples: |

- intent: send\_money examples: |

- intent: about\_chatbot examples: |

- intent: bot\_challenge examples: |

- intent: receive\_money examples: |

- intent: charges\_for\_sending\_money examples: |

- intent: user\_transfer\_OrangeNXT examples: |

- intent: add\_money\_OrangeNXT examples: |

- intent: about\_OrangeNXT examples: |

- intent: first\_login examples: |

- intent: balance\_inquiry examples: |

- intent: Goal\_Based\_Deposit examples: |

- intent: qr\_payment examples: |

- intent: Fixed\_deposit examples: |

- intent: out\_of\_scope examples: |

rules:

- rule: when out of scope steps:
  - intent: out\_of\_scope
  - action: action\_cust\_act

stories:

- story: Greet Story steps:
  - intent: greeting
  - action: action\_cust\_act

- story: Goodbye Story steps:
  - intent: goodbye
  - action: action\_cust\_act

- story: story2 steps:
  - intent: out\_of\_scope
  - action: action\_cust\_act

- story: startup\_story steps:
  - intent: on\_startup
  - action: action\_cust\_act

- story: interactive\_story\_1 steps:
  - intent: after\_greet
  - action: action\_cust\_act

- story: interactive\_story\_2 steps:
  - intent: about\_chatbot
  - action: action\_cust\_act

- story: interactive\_story\_3 steps:
  - intent: bot\_challenge
  - action: action\_cust\_act

- story: interactive\_story\_4 steps:
  - intent: goal
  - action: action\_cust\_act

- story: interactive\_story\_6 steps:
  - intent: send\_money
  - action: action\_cust\_act

- story: interactive\_story\_7 steps:
  - intent: receive\_money
  - action: action\_cust\_act

- story: interactive\_story\_8 steps:
  - intent: charges\_for\_sending\_money
  - action: action\_cust\_act

- story: interactive\_story\_12 steps:
  - intent: user\_transfer\_OrangeNXT
  - action: action\_cust\_act

- story: interactive\_story\_14 steps:
  - intent: update\_personal\_details
  - action: action\_cust\_act

- story: interactive\_story\_20 steps:
  - intent: e\_kyc
  - action: action\_cust\_act

- story: interactive\_story\_21 steps:
  - intent: personal\_data
  - action: action\_cust\_act

- story: interactive\_story\_23 steps:
  - intent: account\_statement
  - action: action\_cust\_act

- story: interactive\_story\_24 steps:
  - intent: forgotten\_mpin\_issues
  - action: action\_cust\_act

- story: interactive\_story\_25 steps:
  - intent: Phone\_stolen\_or\_Lost\_issues
  - action: action\_cust\_act

- story: interactive\_story\_26 steps:
  - intent: Account\_related\_queries
  - action: action\_cust\_act

- story: interactive\_story\_27 steps:
  - intent: Deposits\_and\_Withdrawals
  - action: action\_cust\_act

- story: interactive\_story\_28 steps:
  - intent: Security\_issue
  - action: action\_cust\_act

- story: interactive\_story\_29 steps:
  - intent: General\_banking
  - action: action\_cust\_act

- story: interactive\_story\_30 steps:
  - intent: receive\_money\_in another\_currency
  - action: action\_cust\_act

- story: interactive\_story\_31 steps:
  - intent: Onboarding\_Customers
  - action: action\_cust\_act

- story: interactive\_story\_32 steps:
  - intent: Simplified\_KYC
  - action: action\_cust\_act

- story: interactive\_story\_33 steps:
  - intent: Products\_and\_services\_offered
  - action: action\_cust\_act

- story: interactive\_story\_34 steps:
  - intent: Navigating\_through\_the\_app
  - action: action\_cust\_act

- story: interactive\_story\_38 steps:
  - intent: add\_money\_OrangeNXT
  - action: action\_cust\_act

- story: interactive\_story\_39 steps:
  - intent: about\_OrangeNXT
  - action: action\_cust\_act

- story: interactive\_story\_40 steps:
  - intent: first\_login
  - action: action\_cust\_act

- story: interactive\_story\_41 steps:
  - intent: balance\_inquiry
  - action: action\_cust\_act

- story: interactive\_story\_42 steps:
  - intent: Goal\_Based\_Deposit
  - action: action\_cust\_act

- story: interactive\_story\_43 steps:
  - intent: qr\_payment
  - action: action\_cust\_act

- story: interactive\_story\_44 steps:
  - intent: Fixed\_deposit
  - action: action\_cust\_act
