In patients with known type 2 diabetes or no previous history of diabetes, the most common provoking factors were medications such as immune checkpoint inhibitors, SGLT2 inhibitors and steroids. Here, SLC5A2 is linked to type 2 diabetes mellitus.