
Hi @susmitha ,
As this post mentioned, the issue is related to the internal SharePoint topology service, which channels service application requests to their correct location. if you have more than one server on which that "SharePoint Service" is running (in your case User Profile service), the topology service will round-robin the requests.
In normal circumstances you shouldn't see that problem. SharePoint thinks that the end point is valid.
You can try to fix this by stopping and starting the "User Profile service" in Central Administration. Also check whether the account running your user profile service is an account with the correct permissions. Then try iisreset. By the way, have you installed CU recently?
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.