Skip to content

Rasa validator shows empty error message when text: null for a response #7908

Closed
@desmarchris

Description

Rasa Version     : 2.2.2
Rasa SDK Version : 2.2.0
Rasa X Version   : None
Python Version   : 3.8.6
Operating System : macOS-10.16-x86_64-i386-64bit

Issue:
Originally reported in our forum, training/validating threw an error but didn't show anything in the file to fix. After looking at the file, one of the responses had text: null. Changing this to a random string fixed the problem. We should look into why this error wasn't showing up in the traceback

Error (including full traceback):

(e2e) chris@ChristophersMBP e2e % rasa data validate -d original-domain.yml
The configuration for pipeline was chosen automatically. It was written into the config file at 'config.yml'.
YamlValidationException: Failed to validate '/Users/chris/rasa/e2e/original-domain.yml'. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during validation

Command or request that led to error:

rasa train
rasa validate

Content of domain file (domain.yml) (if relevant):
File is here

Definition of Done

  • YamlValidationException should show what made the schema validation fail

Metadata

Assignees

Labels

area:rasa-oss 🎡Anything related to the open source Rasa frameworkarea:rasa-oss/training-dataIssues focused around Rasa training data (stories, NLU, domain, etc.)effort:atom-squad/2Label which is used by the Rasa Atom squad to do internal estimation of task sizes.type:bug 🐛Inconsistencies or issues which will cause an issue or problem for users or implementors.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions