Can you take too much magnesium?

Magnesium is essential for health, but taking too much can cause problems, including digestive issues, lethargy, and an irregular heartbeat.