Error: JSONDecodeError

hey everyone,

i am exploring the custom actions. i copy the first one off the explanation video:(Conversational AI with Rasa: Custom Actions - YouTube)

When i run: rasa run actions and in the other terminal: rasa shell.

everything seems to be working but when i ask: tell me the time. i get this error: 2021-09-03 11:40:42 ERROR rasa.core.processor - Encountered an exception while running action ‘action_show_time’.Bot will continue, but the actions events are lost. Please check the logs of your action server for more information. Traceback (most recent call last): File “c:\users\sebastiaan\appdata\local\programs\python\python38\lib\site-packages\rasa\core\processor.py”, line 772, in run_action events = await action.run( File “c:\users\sebastiaan\appdata\local\programs\python\python38\lib\site-packages\rasa\core\actions\action.py”, line 702, in run response_data = json.loads(e.text) File "c:\users\sebastiaan\appdata\local\programs\python\python38\lib\json_init.py", line 357, in loads return _default_decoder.decode(s) File “c:\users\sebastiaan\appdata\local\programs\python\python38\lib\json\decoder.py”, line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File “c:\users\sebastiaan\appdata\local\programs\python\python38\lib\json\decoder.py”, line 355, in raw_decode raise JSONDecodeError(“Expecting value”, s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) . I think it is good as I say that I also have a special code to talk to the bot. this is the coicebot.py folder.

can someone help me?

these are in my main folder( endpoints.yml

config.yml (527 Bytes)

credentials.yml (980 Bytes)

domain.yml (1.2 KB)

endpoints.yml (1.4 KB)

responses.yml (534 Bytes) )

these are in the data folder (

nlu.yml (4.0 KB)

rules.yml (433 Bytes)

stories.yml (542 Bytes) )

this is the action file actions.py (2.3 KB)

this is my very custom speak file Voicebot.py (949 Bytes)