An incoming missile alert plunged residents of US state Hawaii into panic on Saturday morning before it was declared a false alarm.
Mobile phone users received a message saying: "Ballistic missile threat inbound to Hawaii. Seek immediate shelter. This is not a drill."
State Governor David Ige apologised and said it was caused by an employee pressing the wrong button.
The US government announced there would be a full investigation, says a BBC report.
An alert system is in place because of the potential proximity of Hawaii to North Korean missiles.
In December, the state tested its nuclear warning siren for the first time since the end of the Cold War.
How was the alert released?
The false warning message was sent to people's mobile devices, and was also broadcast on television and radio stations.
The phone message notification, all in capital letters, went out at 08:07 (18:07 GMT).
It was corrected by email 18 minutes later but there was no follow-up mobile text for 38 minutes, the Honolulu Star-Advertiser reports.
Governor Ige said human error during one of the thrice-daily shift changes at the state's Emergency Management Agency (EMA) was to blame for the false alert.
"It was a procedure that occurs at the change of shift where they go through to make sure that the system, that it's working. And an employee pushed the wrong button," he explained.
"It was an inadvertent mistake," said EMA administrator Vern Miyagi. "The change of shift is about three people. That should have been caught... it should not have happened."
Television and radio broadcasts across the state were interrupted with a recorded emergency message instructing people to stay indoors.
"If you are outdoors seek immediate shelter in a building. Remain indoors well away from windows. If you are driving pull safely to the side of the road and seek shelter in a building while laying on the floor. We'll announce when the threat has ended. This is not a drill!"