Getting Error: Tried to set non-existent slot: 'credit_score_q6' : Make sure you added all your slots to domain file

Hi all,

I am migrating Rasa 2.x to Rasa 3.0. In that process I updated the domain file to include slot_mappings. But, after updation of domain files , I am getting the following error while trying to train the model. Tried to set non-existent slot: ‘credit_score_q6’ : Make sure you added all your slots to domain file I am getting this error for all other slot mappings as well. Please let me know how to fix this. Thanks

@Priya123 check this slot credit_score_q6 in domain.yml, if you are using define it in slots else delete it and train the model again. Even, try delete the older model before train it again.

Hi, I did include the credit_score_q6 to my domain.yml file. The error is thrown when I run the rasa train command after including the slot mappings to the domain file. The model is working with Rasa 2.7 , but when changes made to domain file for Rasa 3.0 migration I am getting this error. I would like to know how to fix this. Thanks

@Priya123 can you share the error screenshot and the code for the same. Is that you performed the migration from 2.x to 3.x? Did you mention version: “3.0” in the file, please cross check again. Ref: Version Migration Guide