An earthquake struck the coast of Antarctica on Saturday night, resulting in a tsunami warning for southern Chile.

Residents were sent a text message informing them of the earthquake and urging them to leave the beaches immediately.

The warning message was to be sent only to the inhabitants of the southern tip of the country, but due to a technical error it went to a large part of the country.

As a minor earthquake near the country's capital, Santiago, was accidentally known only half an hour later, the warning was also taken seriously thousands of miles from the right danger zone.

The error was corrected with a new message in a few minutes, but many had time to get scared.

Hundreds of people fled to higher terrain, according to Reuters news agency.

The earthquake on the south side of the earth was 7.1 and the earthquake on the outskirts of Santiago 5.8 on the Richter scale.

No one was reportedly injured in either.

The case has raised questions about the reliability of the warning system.

According to the Chilean newspaper El Mostrador, the technical flaw was related to the fact that the database contained the same code for two different areas.

Located on the southwest coast of South America, Chile is a long and narrow country, more than 4,000 kilometers long but at most only about 360 kilometers wide.

Therefore, the coast is relatively large, but the distance from the southern tip of the country to Santiago, for example, is more than 2,000 kilometers.

Chile is also one of the most seismically active countries in the world.