-I defined custom action in actions.py
-Created the server using rasa_core_sdk.endpoint, Server is up and running
-but getting no response
-and getting this error whenever server gets hit
DEBUG:rasa_core_sdk.executor:Received request to run ‘action_navigation’
ERROR:flask.app:Exception on /webhook [POST]
Traceback (most recent call last):
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 2292, in wsgi_app
response = self.full_dispatch_request()
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask_cors/extension.py”, line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask/_compat.py”, line 35, in reraise
raise value
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1813, in full_dispatch_request
rv = self.dispatch_request()
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask_cors/decorator.py”, line 128, in wrapped_function
resp = make_response(f(*args, **kwargs))
File “/home/asd/anaconda3/lib/python3.6/site-packages/rasa_core_sdk/endpoint.py”, line 72, in webhook
response = executor.run(action_call)
File “/home/asd/anaconda3/lib/python3.6/site-packages/rasa_core_sdk/executor.py”, line 170, in run
“”.format(action_name))
Exception: No registered Action found for name ‘action_navigation’.
127.0.0.1 - - [2018-11-26 16:01:18] “POST /webhook HTTP/1.1” 500 412 0.004413
Yes, my current directory has action.py file and its not a directory issue.
Output:
DEBUG:rasa_core_sdk.executor:Received request to run ‘action_navigation’
ERROR:flask.app:Exception on /webhook [POST]
Traceback (most recent call last):
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 2292, in wsgi_app response = self.full_dispatch_request()
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1815, in full_dispatch_request rv = self.handle_user_exception(e)
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask_cors/extension.py”, line 161, in wrapped_function return cors_after_request(app.make_response(f(*args, **kwargs)))
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1718, in handle_user_exception reraise(exc_type, exc_value, tb)
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask/_compat.py”, line 35, in reraise raise value
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1813, in full_dispatch_request rv = self.dispatch_request()
File “/home/asd/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1799, in dispatch_request return self.view_functionsrule.endpoint File “/home/asd/anaconda3/lib/python3.6/site-packages/flask_cors/decorator.py”, line 128, in wrapped_function resp = make_response(f(*args, **kwargs)) File “/home/asd/anaconda3/lib/python3.6/site-packages/rasa_core_sdk/endpoint.py”, line 72, in webhook response = executor.run(action_call) File “/home/asd/anaconda3/lib/python3.6/site-packages/rasa_core_sdk/executor.py”, line 170, in run “”.format(action_name))
Exception: No registered Action found for name ‘action_navigation’. 127.0.0.1 - - [2018-11-26 16:01:18] “POST /webhook HTTP/1.1” 500 412 0.004413