The Indian consulate in Afghanistan's northern city of Mazar-i-Sharif came under attack on Sunday, but two attackers were killed, media reports said.
Afghan news agency Pajhwok Afghan News said in a tweet: "Two attackers were killed in fighting after insurgents attacked Indian consulate in Mazarisharif city."
In a series of tweets, the news agency earlier said: "Police confirmed blast in gun fires in PD4 near to #Indian consulate in #Afghanistan's Mazar-i-Sharif city."
"Balkh governor spokesman told Pajhwok that attackers entered a house and firing on Indian Consulate in Maza-i-Sharif city."
"Police says, no casualties yet reported from attack on #Indian Consulate in Maza-i-Sharif city."
"Gun fires resumed after armed people attacked #Indian Consulate in MazairSharif city."
More From This Section
BBC also said explosions and gunfire were heard near the Indian consulate.
The report said it was not immediately clear whether the consulate was directly targeted, as the area also has a building belonging to a local politician.
Indian diplomatic missions in Afghanistan have come under militant attacks earlier too. In 2008 and 2009, the embassy in Kabul was attacked, leaving dozens dead.
In May 2014, gunmen attacked the Indian consulate in Herat, while in August 2013, nine civilians died when the consulate in Jalalabad was targeted.