rasa.engine.exceptions.GraphComponentException: Error running graph component for node run_RegexMessageHandler

Hi I am using rasa opensource version 3.6.20 with python 3.10

when I try to get access information from action server, I am getting this error

Traceback (most recent call last):
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/core/channels/rest.py", line 162, in receive
    await on_new_message(
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/core/channels/channel.py", line 89, in handler
    await app.ctx.agent.handle_message(message)
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/core/agent.py", line 419, in handle_message
    return await self.processor.handle_message(  # type: ignore[union-attr]
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/core/processor.py", line 157, in handle_message
    tracker = await self.log_message(message, should_save_tracker=False)
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/core/processor.py", line 466, in log_message
    await self._handle_message_with_tracker(message, tracker)
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/core/processor.py", line 797, in _handle_message_with_tracker
    parse_data = await self.parse_message(message, tracker)
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/core/processor.py", line 724, in parse_message
    parse_data = self._parse_message_with_graph(
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/core/processor.py", line 774, in _parse_message_with_graph
    results = self.graph_runner.run(
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/engine/runner/dask.py", line 101, in run
    dask_result = dask.get(run_graph, run_targets)
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/dask/local.py", line 557, in get_sync
    return get_async(
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/dask/local.py", line 500, in get_async
    for key, res_info, failed in queue_get(queue).result():
  File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result
    return self.__get_result()
  File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
    raise self._exception
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/dask/local.py", line 542, in submit
    fut.set_result(fn(*args, **kwargs))
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/dask/local.py", line 238, in batch_execute_tasks
    return [execute_task(*a) for a in it]
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/dask/local.py", line 238, in <listcomp>
    return [execute_task(*a) for a in it]
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/dask/local.py", line 229, in execute_task
    result = pack_exception(e, dumps)
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/dask/local.py", line 224, in execute_task
    result = _execute_task(task, data)
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/dask/core.py", line 119, in _execute_task
    return func(*(_execute_task(a, cache) for a in args))
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/engine/graph.py", line 503, in __call__
    raise GraphComponentException(
rasa.engine.exceptions.GraphComponentException: Error running graph component for node run_RegexMessageHandler.
2024-12-16 18:26:05 ERROR    rasa.core.processor  - Encountered an exception while running action 'gate_information'.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 "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/core/processor.py", line 982, in _run_action
    events = await action.run(
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/core/actions/action.py", line 790, in run
    self._validate_action_result(response)
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/core/actions/action.py", line 713, in _validate_action_result
    raise e
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/rasa/core/actions/action.py", line 704, in _validate_action_result
    validate(result, self.action_response_format_spec())
  File "/home/raraju/Downloads/setup/venvs/chatbot/lib/python3.10/site-packages/jsonschema/validators.py", line 1121, in validate
    raise error
jsonschema.exceptions.ValidationError: [] is not of type 'object'. Failed to validate Action server response from API, make sure your response from the Action endpoint is valid. For more information about the format visit https://rasa.com/docs/rasa/custom-actions

why would this error occurs, how do I resolve this.

I happened to know this kind of errors basically happens due to syntactical errors in other files, but I can’t figure out where did I do wrong.

Hi @nik202 can you help me with this please

I am new with rasa.