Custom actions - passing data using slots

Hello, I’m new to the rasa. I developed a custom action and tried to pass data through slots. but it shows an error while running. It shows variable is the NoneType object. I think data is not passing through the slots. is there any wrong with my code?

three

Hi! :smiley:

I think your code is right. I think this action are trigger before set any value in amount slot and trying make split in null value

Can you check it using print(UserReply) before the for loop?

If you prefer, you can use rasa FormValidationAction

Thank you very much. I will try it

I tried print(UserReply). it shows none. now what I can do? is there any solution?