I think i got the problem apparently the problem was with my token... i didn't know that token can expire. Actually i didn't acces my server for a long time and the token got expired so i think that was the problem.... anyway sorry for spending ur time with me.... and thank u very much