I was suffering from random muscle pains in my legs and arms and did not know the cause. After testing from my doctor, and trying various medications, the doctor told me to stop drinking caffeine. It worked.
Whenever I drink green tea (I do not drink coffee), I get pain spasms in my muscles. I drink only herbal teas now.