Although very notable, he was having health issues before.
Avicii's health issues began in January 2012, when the DJ and producer was hospitalized in New York City with acute pancreatitis, a side-effect of heavy drinking.
https:// www.billboard.com/articles/news/dance/8358621/avicii-health-timeline