US President Donald Trump (L) and Japanese Prime Minister Shinzo Abe pose after they signed hats reading 'Donald and Shinzo, Make Alliance Even Greater' at the Kasumigaseki Country Club in Kawagoe, near Tokyo on November 5, 2017. 
Trump touched down in Japan, kicking off the first leg of a high-stakes Asia tour set to be dominated by soaring tensions with nuclear-armed North Korea. / AFP PHOTO / POOL / FRANCK ROBICHON        (Photo credit should read FRANCK ROBICHON/AFP/Getty Images)
Shinzo Abe surprises Trump with custom hats
01:29 - Source: CNN
CNN  — 

An attempt at Twitter diplomacy went awry on Thursday when the Japanese Prime Minister’s account accidentally quoted a tweet from the President of the United States bashing a sitting senator.

shinzo abe twitter SCREENGRAB

In the now-deleted tweet, Japanese Prime Minister Shinzo Abe wrote, “I too look forward to having fruitful talks with my great friend President @realdDonaldTrump as always.” But rather than quoting Trump’s tweet about their discussions on North Korea and trade, Abe mistakenly included one attacking Republican Sen. Jeff Flake.

“How could Jeff Flake, who is setting record low polling numbers in Arizona and was therefore humiliatingly forced out of his own Senate seat without even a fight (and who doesn’t have a clue), think about running for office, even a lower one, again? Let’s face it, he’s a Flake!,” Trump wrote.

When asked about Trump’s tweet, Flake told CNN he had “no reaction.”

The mistaken tweet was quickly deleted. Abe’s account replied with the same message to the correct Trump message at the same time the erroneous quote tweet was posted. The account also retweeted Trump’s message about their bilateral talks, which read: “Looking forward to seeing my friend Prime Minister @AbeShinzo of Japan at noon. Will be discussing North Korea and Trade.”

The two world leaders will meet at the White House ahead of Trump’s upcoming summit with North Korean leader Kim Jong Un. It is the second such meeting between Trump and Abe in recent weeks.

CNN’s Suzanne Malveaux and Laurie Ure contributed to this report.