This is likely because your defect_quantity intent is featurizing the entities, so you are on a story path not covered in your stories. You have 2 options:
if whether or not the entity is picked up matters, (i.e. if they don’t provide it you should ask for it), you would want to do something like
Thank you for the response. I followed the last approched and now it respond the standard output message. But i am not pass the value with the response. Take for example 1000 is the defect quantity , I am not able to pass them as the response. how to pass the value 1000 using dispatcher. I used dispatcher.utter_message() but i am not getting this in response for the agent.handle_text()
Can you post an example of how you are using the dispatcher to utter it, as well as the response you are receiving and the response you want to receive?