It seems the issue lied at the sever end. I've tried generating a session in the morning and it ran with out any issues. The problem might be with the time at which I made the POST request to generate a session or it took few hours to activate my ap…