check the through hole pin padstack for plated option, it should be enabled , if it is not enabled you will get connectivity errors as you are routing a trace to that pin
enable it and verify the design
you are right . I had enabled the plated option . Now Issue got solved, Thanks for your reply.