A bomb exploded in a trash can in the centre of the Afghan capital on Saturday causing little damage and no injuries, the Interior Ministry said.
Interior Ministry spokesman Zemarai Bashary described the device that exploded in the Wazir Akbar Khan embassy district as a "sound bomb", meaning it was designed to make a loud noise rather than cause any damage.
A Reuters witness at the scene said there was some damage to a nearby wall but the impact looked small.
Wazir Akbar Khan, the capital's most secure district, is home to embassies and many foreign companies and has been hit by a number of bomb attacks in the past year.
Five days before the Aug. 20 presidential election, a suicide car bomb attack killed seven people. The Taliban claimed responsibility.
Violence in Afghanistan has escalated to record levels this year. US President Barack Obama is just days away from making an announcement on whether he will send tens of thousands more troops to the war-riven country to beat a growing Taliban insurgency.