`Validator` flags form `None` in rules/stories is not present in domain when running `rasa data validate`

Hi, I get the follwoing error message if I run ‘rasa data validate’:

UserWarning: The form ‘None’ is used in the ‘Ende Krankmeldung Form’ block, but it is not listed in the domain file. You should add it to your domain file!

Version 3.0

Domain:

krankmeldung_form:
    ignored_intents:
    - chitchat
    required_slots:
      - krankmeldung_kind
      - krankmeldung_start
      - krankmeldung_ende
      - krankmeldung_schein_benötigt

Rules:

 - rule: Start Krankmeldung Form
  steps:
  - intent: krankmeldung
  - action: krankmeldung_form
  - active_loop: krankmeldung_form

- rule: Ende Krankmeldung Form
  condition:
  - active_loop: krankmeldung_form
  steps:
  - action: krankmeldung_form
  - active_loop: null
  - slot_was_set:
    - requested_slot: null
  - action: utter_krankmeldung

The first rule works, the second one throws the error. Can someone help me? Thanks!

2 Likes

Really weird. I don’t see any mistake.

Maybe an invisible character got in there for some reason? Try erasing your story and rewrite it without copying.

In any case, please share the output of rasa --version.

Output from rasa --version:

Rasa Version      :         3.0.4
Minimum Compatible Version: 3.0.0
Rasa SDK Version  :         3.0.2
Rasa X Version    :         None
Python Version    :         3.8.12
Operating System  :         Windows-10-10.0.19043-SP0

The weird thing is, it only concerns the data validation (rasa data validation). There is no error if I train the model. I deleted and rewrited my story multiple times, but without any changes :frowning:

3 Likes

Ah so training works, that’s good at least.

Try deleting the files in the models folder and try again.

If it doesn’t work, please open an issue on GitHub so that the developers see it :slight_smile: Please mention that it only happens during validation and not training, and post the link to the issue here.

This is being tracked as #9758

3 Likes