Thousands of Twitter users reported problems accessing links from the social media platform and other websites on Monday, before the Elon Musk-owned company said it had fixed the latest in a series of outages.

Musk tweeted that a small change with Twitter's data-access tool had caused the problem. "The code stack is extremely brittle for no good reason. Will ultimately need a complete rewrite," he said.