Do you know what could be the problem?? So they don’t allow me to board the flight??
As I said, travel to india, having India passport with less than 6 months validity is not a problem. But when you try to come back to, let’s say Canada, there is immigration check when you exit India. They will not allow you to board flight if your passport is less than 6 months valid ( I am assuming you have india passport).
What you can do is while in India, you can apply and get a passport quickly. I think within a week.