"No project found with name 'default'."

rasa-core==0.11.3
rasa-core-sdk==0.11.3
rasa-nlu==0.13.3

Trying to run rasa_nlu.server but getting this error after changing path several times

{
    "error": "No project found with name 'default'."
}

I’ve trained the model with these configurations:

python -m rasa_nlu.train -c config.yml --fixed_model_name mecosProviderModel --project current --path models/mecosProvider/ --data data/mecos_provider_training.json

Here are some commands which I’m trying to load the the model mecosProviderModel.

python -m rasa_nlu.server -c config.yml --path models/mecosProvider/ --pre_load mecosProviderModel --debug

python -m rasa_nlu.server -c config.yml --path models/ --pre_load current --debug

python -m rasa_nlu.server -c config.yml --path models/ --pre_load current/mecosProviderModel --debug

same error

Directory structure of models is attached 40%20PM

Please include project name and model name in your request query.

added in request using curl

 $ curl -XPOST localhost:5000/parse -d '{"q":"open settings", "project":"mecosProvider", "model":"mecosProviderModel"}'

throws error

{
    "error": "Unable to initialize persistor"
}

What’s your project name? It seems to be current

mecosProvider is the model name.

following errors shown when request is post

2018-09-17 09:54:57 INFO     rasa_nlu.data_router  - Logging of requests is disabled. (No 'request_log' directory configured)
2018-09-17 09:54:57+0500 [-] Log opened.
2018-09-17 09:54:57 INFO     __main__  - Started http server on port 5000
2018-09-17 09:54:57+0500 [-] Site starting on 5000
2018-09-17 09:54:57+0500 [-] Starting factory <twisted.web.server.Site object at 0x1157c7208>
2018-09-17 09:54:57+0500 [-] 2018-09-17 09:54:57 WARNING  rasa_nlu.project  - Invalid model requested. Using default
2018-09-17 09:55:06+0500 [-] 2018-09-17 09:55:06 WARNING  rasa_nlu.project  - Using default interpreter, couldn't fetch model: Unable to initialize persistor
2018-09-17 09:55:06+0500 [-] 2018-09-17 09:55:06 ERROR    __main__  - Unable to initialize persistor
2018-09-17 09:55:06+0500 [-] Traceback (most recent call last):
2018-09-17 09:55:06+0500 [-]   File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/server.py", line 245, in parse
2018-09-17 09:55:06+0500 [-]     self.data_router.parse, data))
2018-09-17 09:55:06+0500 [-]   File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/twisted/python/threadpool.py", line 250, in inContext
2018-09-17 09:55:06+0500 [-]     result = inContext.theWork()
2018-09-17 09:55:06+0500 [-]   File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/twisted/python/threadpool.py", line 266, in <lambda>
2018-09-17 09:55:06+0500 [-]     inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
2018-09-17 09:55:06+0500 [-]   File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/twisted/python/context.py", line 122, in callWithContext
2018-09-17 09:55:06+0500 [-]     return self.currentContext().callWithContext(ctx, func, *args, **kw)
2018-09-17 09:55:06+0500 [-]   File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/twisted/python/context.py", line 85, in callWithContext
2018-09-17 09:55:06+0500 [-]     return func(*args,**kw)
2018-09-17 09:55:06+0500 [-]   File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/data_router.py", line 264, in parse
2018-09-17 09:55:06+0500 [-]     model)
2018-09-17 09:55:06+0500 [-]   File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/project.py", line 250, in parse
2018-09-17 09:55:06+0500 [-]     interpreter = self._interpreter_for_model(model_name)
2018-09-17 09:55:06+0500 [-]   File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/project.py", line 355, in _interpreter_for_model
2018-09-17 09:55:06+0500 [-]     metadata = self._read_model_metadata(model_name, model_dir)
2018-09-17 09:55:06+0500 [-]   File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/project.py", line 372, in _read_model_metadata
2018-09-17 09:55:06+0500 [-]     self._load_model_from_cloud(model_name, path)
2018-09-17 09:55:06+0500 [-]   File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/project.py", line 411, in _load_model_from_cloud
2018-09-17 09:55:06+0500 [-]     raise RuntimeError("Unable to initialize persistor")
2018-09-17 09:55:06+0500 [-] RuntimeError: Unable to initialize persistor
2018-09-17 09:55:06+0500 [-] "127.0.0.1" - - [17/Sep/2018:04:55:05 +0000] "POST /parse HTTP/1.1" 500 47 "-" "PostmanRuntime/7.3.0"
2018-09-17 09:56:06+0500 [-] Timing out client: IPv4Address(type='TCP', host='127.0.0.1', port=49846)

Please check your project and model name again. Error says “invalid model requested”

issue resolved. Rasa cannot read the model in nested directories, so I changed the directory to only models and nlu model is working fine.