BotBuilder-Samples
BotBuilder-Samples copied to clipboard
14.nlp-with-dispatch: luis_schema_version missing in Weather.json
Github issues for C# / JS
Sample information
- Sample type: [samples]
- Sample language: [dotnetcore & nodejs]
- Sample name: 14.nlp-with-dispatch
Describe the bug
The Weather.json file in the CognitiveModels folder does not contain the luis_schema_version and hence is throwing up this error "BadArgument: Invalid luis schema version. Failed to parse application json." when you try to import Weather.json.
To Reproduce
Steps to reproduce the behavior:
- Go to 'www.luis.ai'
- Click on 'New App for conversion > Import as JSON'
- Select Weather.json file from CognitiveModels of 14.nlp-with-dispatch sample.
- See error "BadArgument: Invalid luis schema version. Failed to parse application json."
Expected behavior
The Weather.json file should be imported successfully without any errors.
Fix
Add "luis_schema_version": "3.2.0" in the Weather.json file across both the C# and nodejs samples.

Additional context
As reported by the Cx in https://github.com/microsoft/BotBuilder-Samples/issues/2643
[bug]
It didn't work for me