Error while calling custom action

rasa.core.actions.action - Failed to run custom action ‘action_check_uhid’. Action server responded with a non 200 status code of 0. Make sure your action server properly runs actions and returns a 200 once the action is executed. Error: 0, message=‘Attempt to decode JSON with unexpected mimetype: text/html’, url=URL(‘http://localhost:5002/webhook’) 2020-01-16 15:48:47 ERROR rasa.core.processor - Encountered an exception while running action ‘action_check_uhid’. Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.

Hi @navneet,

It seems that your action server is not accessible. Was it up & running?

If you are using the Rasa SDK on your local machine with default port 5055, you can check the health and the registered actions of your action server with these APIs:

Hi @Arjaan Thank u for respond. As u said I tried these two API’s…

Still the issue is same. Kindly help

Hi @navneet,

Can you run the action server with the --debug parameter?

rasa run actions --debug

Then, when rasa asks the action server to execute your custom action, you should see something like this in the output printed by the action server:

...
2020-01-16 13:43:33 DEBUG    rasa_sdk.executor  - Received request to run 'action_check_uhid'
2020-01-16 13:43:33 DEBUG    rasa_sdk.executor  - Finished running 'action_check_uhid'

Hey Thank you… I got my issue i use some different port in my endpoint.yml… Thanks alot…

1 Like