Format for form in domain.yml file

I’m using the form action. Every things works fine but when I try to add form in domain file it gives me format error. I referred from link

it gives me error: Core training was skipped because no valid domain file was found. Only an nlu-model was created.Please specify a valid domain using ‘–domain’ argument or check if the provided domain file exists. If I remove the forms then It works fine

@Tanja @alexweidauer @Juste @akelad

You cannot have spaces in your domain elements (intents, templates, etc.). Try replacing them with an underscore and see if it works.

no actually I solved the issue. The problem isn’t in spaces. It’s because of form name is also mentioned under the actions in domain file. BTW thanks

1 Like