There are actually over 30 types of acids present in coffee beans. Most notably, chlorogenic acid can contribute to stomach irritation. Other acids are linked to health benefits. Caffeic acid, for example, is a well-established anti-carcinogen. [7]