API disconnection issue

I have created my own algo using dhan api. while running , sometimes it says your connection is forcible closed by the remote and and says token inaavlid in the same message authenitcation failed. then i restart the algo it connects.please suggest me hpw to solve this

Hi @mallika_Begum Request you to raise the query from your registered email address on help@dhan.co and our team will review.

API services are up and running fine.