The problem is coming because of the expired jwt token, which happened because of wrong system timings. once it was fixed the token is not expiring, and the problem was solved