An MSNBC producer and the official MSNBC Twitter account incorrectly claimed earlier Friday that the U.S. ambassador to Panama was resigning over Trump’s “s**thole” comments.

Mary Emily O’Hara, a segment producer for MSNBC, said that John Feeley was resigning over allegations that Trump referred to Haiti and African countries as “shitty countries.”

“Feeley is the first US diplomat to resign over the president’s comments,” O’Hara wrote.

RELATED: The Media Is In Love With Oprah:

However, Feeley actually resigned on Dec. 27, well before Trump’s comments. (RELATED: US Ambassador To Panama Resigned BEFORE S**thole Comments)

O’Hara deleted her initial tweet and addressed her error in a follow-up, blaming the first tweet on “phrasing.”

MSNBC also apparently tweeted the false claim, and issued a correction on its account Friday afternoon.

“We deleted a previous tweet about the US Ambassador to Panama’s resignation that misrepresented the resignation as a result of the president’s recent racially charged comments,” it wrote.

Follow Amber on Twitter