Tried to set non existent slot 'action'. Make sure you added all your slots to your domain file

hey folks,

can someone please help me with this error? I don’t have a slot named ‘action’ anywhere in my doman.yml, stories.yml or actions.py. I am not sure why would it try to set any value to it.

1 Like

That does indeed look weird… Could you share a minimal example to reproduce?

1 Like

@baurjanj If your code is 100% correct and you haven’t have any slot action. Delete all the previous save model’s and re-train the bot. I guess your problem will be sort. If not please share some files with us. love to see this issue/error.

1 Like

@fkoerner you for your response! I was able to resolve this problem since. The cause was a stupid indent problem where the action flag was indented incorrectly under the slot_was_set. image

1 Like

@nik202 thank you, this problem was resolved. Please see above message for the details.

Great! Glad you got it sorted :slight_smile:

1 Like