Ethiopia's foreign ministry has apologised after a map of Africa on its website incorporated neighbouring Somalia within its own borders.
"We sincerely regret any confusion and misunderstanding this incident might have caused," the statement said.
Somalia had been completely erased from the map, but the self-declared territory of Somaliland - which is not internationally recognised - was shown, reports BBC.
The neighbours have long been rivals, fighting borders wars in the past.
But relations between the two countries have improved since Ethiopia's Prime Minister Abiy Ahmed came to power last year as he has sought to defuse tensions in the region.
The map has caused an uproar on social media, with Somalis saying it reveals a wider plan by Ethiopia to annex their country.
Others hit back, with their own version of a map of Africa, incorporating Ethiopia into Somalia.
Some have noticed other problems with the map published on the Ethiopian website, for example, it showed that the Republic of Congo and the Democratic Republic of Congo had become one country and it did not show South Sudan, which split from Sudan in 2011.
There has been no official comment from the Somali government. Former Foreign Minister Yusuf Garaad welcomed the removal of the map, but queried how why it was drawn in the first place.
The Ethiopian foreign ministry's statement said it was unsure how the "unacceptable" map had "crept in on the website", which is currently offline, but said its technical team was working to ensure its security.
Timeline: Ethiopia and Somalia
1964 and 1977: Two wars fought over Ethiopia's Somali-inhabited Ogaden region
1988: Peace accord signed, three years later Somalia descends into civil war
1996: Ethiopian forces enter Somalia to defeat Islamist fighters in the town of Luuq
2006: Ethiopian troops intervene in Somalia and remove Islamists from power
2009: Ethiopian soldiers officially leave Somalia, but remain in the country to this day as part of the African Union intervention force fighting al-Shabab Islamist militants
June 2018: Ethiopia's new PM Abiy Ahmed visits Somalia to strengthen ties
Oct 2018: Mr Abiy's government signs a peace deal with rebels fighting for Ogaden's secession