Rasa.core.channels.rest - An exception occured while handling user message 'hi'

it where working fine till now…but i dont know what happend now it throws error when ever am trying to make a conversation with the bot,to enable api i run “rasa run -m models --enable-api --cors “*” --debug”

  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\core\channels\rest.py", line 126, in receive
    metadata=metadata,
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\core\channels\channel.py", line 85, in handler
    await app.agent.handle_message(*args, **kwargs)
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\core\agent.py", line 523, in handle_message
    return await processor.handle_message(message)
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\core\processor.py", line 98, in handle_message
    await self._predict_and_execute_next_action(message.output_channel, tracker)
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\core\processor.py", line 628, in _predict_and_execute_next_action
    action, prediction = self.predict_next_action(tracker)
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\core\processor.py", line 355, in predict_next_action
    prediction = self._get_next_action_probabilities(tracker)
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\core\processor.py", line 898, in _get_next_action_probabilities
    tracker, self.domain, self.interpreter
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\core\policies\ensemble.py", line 721, in probabilities_using_best_policy
    winning_prediction = self._best_policy_prediction(tracker, domain, interpreter)
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\core\policies\ensemble.py", line 601, in _best_policy_prediction
    for i, p in enumerate(self.policies)
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\core\policies\ensemble.py", line 601, in <dictcomp>
    for i, p in enumerate(self.policies)
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\core\policies\ensemble.py", line 633, in _get_prediction
    tracker, domain, interpreter
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\core\policies\ted_policy.py", line 387, in predict_action_probabilities
    model_data = self._create_model_data(tracker_state_features)
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\core\policies\ted_policy.py", line 304, in _create_model_data
    tracker_state_features, self.zero_state_features
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\utils\tensorflow\model_data_utils.py", line 144, in convert_to_data_format
    zero_state_features,
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\utils\tensorflow\model_data_utils.py", line 193, in _features_for_attribute
    sparse_features[key] = [scipy.sparse.vstack(value) for value in values]
  File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\rasa\utils\tensorflow\model_data_utils.py", line 193, in <listcomp>
    sparse_features[key] = [scipy.sparse.vstack(value) for value in values]
  File "c:\programdata\anaconda3\envs\rasabot\lib\site-packages\scipy\sparse\construct.py", line 499, in vstack
    return bmat([[b] for b in blocks], format=format, dtype=dtype)
  File "c:\programdata\anaconda3\envs\rasabot\lib\site-packages\scipy\sparse\construct.py", line 596, in bmat
    raise ValueError(msg)
ValueError: blocks[:,0] has incompatible row dimensions. Got blocks[1,0].shape[1] == 34, expected 35.

hi faiza , did you solve that issue plz ? i’m going through similar thing :confused: