# Failed to load model metadata

**URL:** <https://forum.rasa.com/t/failed-to-load-model-metadata/14719>\
**Category:** Rasa Open Source\
**Created:** [August 23, 2019, 12:07pm UTC](https://forum.rasa.com/t/failed-to-load-model-metadata/14719 "2019-08-23T12:07:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shakya](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@shakya](https://forum.rasa.com/u/shakya)\
**Post date:** [August 23, 2019, 12:07pm UTC](https://forum.rasa.com/t/failed-to-load-model-metadata/14719/1 "2019-08-23T12:07:35Z")

</div>

After training my rasa nlu model, I wanted to test it against an utterance which was not present in my training dataset. Following was the code:

def run\_nlu():

interpreter = Interpreter.load(’.\model\nlu\default\weathernlu’, config.load(‘config\_spacy.json’)) print(interpreter.parse(u"I am planning my holiday to Barcelona. I wonder what is the weather out there."))

However, I am getting the following error message: Failed to load model metadata from ‘C:\Users\shakya.munghate\Desktop\Weatherbot\model lu\default\weathernlu\metadata.json’. [Errno 22] Invalid argument: ‘.\model\nlu\default\weathernlu\metadata.json’

metadata.json file is present in the destination folder, still it is not able to read it. Can anyone please help?
