"Germany stands steadfastly at the side of India’s in the fight against terrorism," Steinmeier said in a statement.
Indian Home Affairs Minister Rajnath Singh was quick to blame Pakistan for masterminding the attack, saying he was disappointed by its "direct support to terrorism." Pakistan denied its involvement.
Speaking ahead of German-Indian anti-terror consultations, Steinmeier said India and Pakistan must take care so that their row not to throw the disputed Kashmir region into chaos.
"The goal of terrorism is, as is often the case, to escalate the situation and make it descend into a spiral of violence. We must not surrender to this logic, including in the conflict between India and Pakistan," Steinmeier noted.
Both countries have been laying claims to Kashmir since 1947. The recent escalation started in July after Indian security forces killed Burhan Wani, a renowned separatist commander.