Nice bug report on a fun bug https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1862281 …pic.twitter.com/CLUthZ3ZDo
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
The next question I'd ask is what USB controller the mouse is plugged into: the one embedded into the Ryzen CPU or something on the motherboard? And if so, try the other one, or a USB PCIe expansion card. Also try through a hub and direct.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.