rasa.core.domain.InvalidDomain: Domain specification has changed. You MUST retrain the policy. Detected mismatch in domain specification

When i run ras i am getting this error on terminal;

rasa.core.domain.InvalidDomain: Domain specification has changed. You MUST retrain the policy. Detected mismatch in domain specification. The following states have been

  • removed: slot_option_type_3,slot_location_option_2
  • added:
    sys:1: RuntimeWarning: coroutine ‘Loop.create_server’ was never awaited

WHat cause this error and how to resolve this?

Hey @kabeer, I think so the issue lies in the domain.yml file, can you share your domain.yml file?

I am getting this error:

Error: An unexpected error occurred. Error: e[91mDomain specification has changed. You MUST retrain the policy. Detected mismatch in domain specification. The following states have been - removed: slot_something_2 - added: e[0m

Would you please help me out? Thanks in advance .

Hey @AbuIshak did you solve the issue? Im getting the same error…

Hey @nicomunnoz, I was getting this error in botfront a rasa based UI. And solved by using partial training.

Hey, @AbuIshak thanks for the reply. I solved the issue in rasa open source by deleting old models in the models folder and training nlu and core separately again. Don´t know what is the explanation for that, but at least the problem was solved :slight_smile:

2 Likes