MOSCOW (AP) — Russian Foreign Minister Sergey Lavrov has warned U.S. Secretary of State Rex Tillerson that potential new sanctions against North Korea would be “dangerous.”

Lavrov and Tillerson spoke by phone late Wednesday, several hours after U.S. President Donald Trump said on Twitter that “talking is not the answer” when it comes to dealing with North Korea.

Russia’s Foreign Ministry said in a read-out of the call late Wednesday that both Lavrov and Tillerson condemned North Korea for firing a midrange ballistic missile Japan earlier this week and called for dialogue.

Lavrov told Tillerson that Russia urges all parties to avoid a military solution to the crisis and added that Moscow views any new potential sanctions against North Korea as “counterproductive and dangerous.”