Facebook has issued a statement apologising for the mistake in its ‘Safety Check’ system that wrongly asked users if they were caught in the bomb attack in Pakistan on Sunday.
The company said a bug was responsible for safety notifications being sent to people nowhere near the incident in India, the UK, Australia and even as far as Hawaii.
Facebook was responding to a suicide attack in the city of Lahore, which killed at least 70 people and injured more than 280.
Safety Check allows users to quickly let their friends and family know they are safe if they are caught up in or close to an attack or natural disaster.
Facebook's errant "explosion" texts, which don't even specify "Pakistan," are even worse than the app/browser issue. pic.twitter.com/175rCOaIVM— Daniel Dale (@ddale8) March 27, 2016
But some far-away users received messages from Facebook asking: "Have you been affected by the explosion?" without any further information as to where the danger was in relation to the user.
In a Facebook post, the company apologised for the error.
"We activated Safety Check today in Lahore, Pakistan, after an explosion that took place there. We hope the people in the area of the bombing find Safety Check a useful and helpful way to let their friends and family know they are okay," the statement reads.
"Unfortunately, many people not affected by the crisis received a notification asking if they were okay. This kind of bug is counter to our intent. We worked quickly to resolve the issue and we apologise to anyone who mistakenly received the notification."
Several people shared their mistaken messages on social media.
Thanks for the concern Facebook but Wrexham and Pakistan really aren't in the same area pic.twitter.com/VADIH4gudB— cam (@camvallen) March 27, 2016
Facebook’s Safety Check function has had a turbulent time since its introduction after the Paris terrorist attacks in November 2015.
Critics rounded on the company for activating the check in Paris but not for similar attacks in Beirut a day earlier. It was then activated again a few days later in Nigeria following another bombing.