Messaging company Slack in a blog post on Friday admitted that some user accounts were mistakenly deleted following reports that some people felt their accounts were unjustly suspended.

Slack last week deactivated the accounts of users in the U.S., as well as in Finland and Canada, who it alleged were tied to Iran, in accordance with U.S. economic sanctions against the country.

ADVERTISEMENT

Multiple people protested the action, saying their accounts were deactivated even if they did not have any significant ties to Iran.

"We have restored access to most of the mistakenly blocked accounts, and we are working hard to restore any remaining users whose access was blocked in error," Slack wrote in the blog post.

The company wrote that the accounts were deleted when it was updating its system "for applying location information to comply with U.S. trade embargoes and economic sanctions regulations."

"Soon after updating, we discovered that we made a series of mistakes and inadvertently deactivated a number of accounts that we shouldn’t have," Slack wrote. "We recognize the disruption and inconvenience this caused and we sincerely apologize to the people affected by our actions."

The post emphasized that no users were removed based on "their nationality or ethnicity," responding to allegations from some that the move was xenophobic.

The National Iranian American Council (NIAC) in a statement thanked Slack for restoring service to those whose accounts had been deleted erroneously.

"While we acknowledge their explanation that users we’re not barred based on ethnicity or national origin, the fact is that, time and time again, the over-enforcement of Iran sanctions manifests itself in actions that discriminate against Iranians and Iranian Americans," NIAC wrote. "Companies must not err on the side of discrimination."

Slack wrote it will continue to block access to its messaging app from IP addresses associated with an embargoed country in the next few weeks.

"Users who travel to a sanctioned country may not be able to access Slack while they remain in that country," it wrote. "However, we will not deactivate their account and they will be able to access Slack when they return to countries or regions for which no blocking is required."