Model training skipped because no valid domain file was found

HI,

Core training was skipped because no valid domain file was found. Only an NLU-model was created. Please specify a valid domain using the ‘–domain’ argument or check if the provided domain file exists.

Got the above error on trying to train a model using the below api

http://localhost:5005/model/train?token=thisismysecret

BODY

nlu:

  • intent: greet examples: |
    • salute
    • hi

domain.yml file already exist in the file path

Thanks