The man identified himself as a resident of the Bageshwar district, CNN-IBN reported, and police were trying to confirm his identity.
The incident prompted police to tighten security at rallies where Gandhi is to appear as the Feb. 21 election approaches.
Sources told CNN-IBN that no changes had been made to her campaign itinerary.
Sonia faces a challenge from Bollywood star and Member of Parliament Hema Malini.
Teacher apologizes for showing sexual image of herself in class
Jessica Simpson shares three-way kiss with friends in photo