In fact, the president complimented "Nambia" twice on its healthcare system at a meeting that consisted of leaders from Uganda, Ghana and...Namibia.

The official White House transcript that later emerged clarified that Trump was referring to Namibia during the speech.

But it wasn't long before Twitter leapt at the chance to chastize his error.

See more reactions prompted by Trump's 'Nambia' remarks:

Trump also praised Africa for its "tremendous business potential" during the lunch.

“I have so many friends going to your countries trying to get rich," Trump said. "I congratulate you, they're spending a lot of money. It has tremendous business potential, representing huge amounts of different markets."

"It's really become a place they have to go, that they want to go," he said.