Hey @ibs-arvind-yadav. You’ve included a lot of unformatted code, but not much description. It would be really helpful if you start from the beginning with a summary of the problem and debugging steps you’ve already tried.
I recommend reading through the 404 debugging topic as well. That includes tips that can solve most 404 errors we see here.