[2019-06-30 16:48:40 -0700] [19832] [ERROR] Exception occurred while handling uri: ‘http://localhost:5005/webhooks/facebook/webhook’
Traceback (most recent call last):
File “c:\users\rasa.conda\envs\rasa63019\lib\site-packages\sanic\app.py”, line 893, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File “c:\users\rasa.conda\envs\rasa63019\lib\site-packages\sanic\router.py”, line 407, in get
return self._get(request.path, request.method, “”)
File “c:\users\rasa.conda\envs\rasa63019\lib\site-packages\sanic\router.py”, line 469, in _get
raise NotFound(“Requested URL {} not found”.format(url))
sanic.exceptions.NotFound: Requested URL /webhooks/facebook/webhook not found
What step did I miss? I ran Rasa as follows:
rasa run -m models --enable-api --log-file out.log
it as well. To help everyone else here is the full command I used after I uncommented endpoints.yml and I set-up the credentials.yml for Facebook: I used this for my Anaconda Windows 10 setup for those wondering the environment.
rasa run -m models --credentials credentials.yml --enable-api --log-file out.log --endpoints endpoints.yml
For others, if you used docker, it was:
docker run -v $(pwd):/app rasa/rasa run -m models --credentials credentials.yml --enable-api --log-file out.log --endpoints endpoints.yml