Error running graph component for node train_UnexpecTEDIntentPolicy2

Hello!
I encounter this issue not for the first time, when I write a story, and an error occurs: Error running graph component for node train_UnexpecTEDIntentPolicy2. If I delete this story, everything is back to normal.

Example of the story:

- story: what is person doing
  steps:
  - intent: what_is_person_doing
    entities:
    - person
  - action: utter_what_is_person_doing

I’ve checked many times, all intents and actions are registered in domain.yml. There are no warnings or errors regarding the use of intents and the configuration of stories. But only this story out of many others causes such an exception - Error running graph component for node train_UnexpecTEDIntentPolicy2.

Moreover, when I move this story to a rule, everything works as it should, no exceptions are thrown, and the model trains.

I’m afraid that when this bundle becomes part of a big story, for example, from interactive mode, it may cause the same exception and inability to train the model.

Has anyone encountered this? What is this related to?

My configuration:

Rasa Version      :         3.6.10
Minimum Compatible Version: 3.5.0
Rasa SDK Version  :         3.6.2
Python Version    :         3.10.12
Operating System  :         Linux-6.2.0-35-generic-x86_64-with-glibc2.35