Getting error during Action implementation

When I try to implement Action It gives me following error: Can not access action ‘action_purchase’, as that name is not a registered action for this domain. Can anyone help me with this error?

You must add 'action_purchase" to you domain file under actions:

Then you must retrain the dialogue model and you should be good to go.

I have added action_purchase in actions in domain file as well as in stories.md file too.

where are you writing your response for this action? If you are not adding them in templates (in domain) then you should… this may be causing problem to you

@NikhilBansal21 What do you mean by saving response in domain. I didn’t get it. I am providing utter_purchase in templates in domain file.

now it should be clear

have you retrained your nlu also?

Yes I retrained my nlu model but problem not resolved.

I also sent you my code on gitter on personal message. You can check there.

lets talk on gitter then for this

Hey bro. Did you solve this problem?

Yeah I have resolved this issue. Do you need any help?