Writing New smartapp

Welcome @shabnam!
I can take a look. Can you share the code of your SmartApp, please?
I see that you are working with our Classic platform, let me share with you a simple tutorial to build a simple SmartApp using the current development tools.