Half true, you can take too much [0], it's just that it either has to build up over a long time or be from dosages far larger than you can buy without a prescription.
[0] https://www.healthline.com/nutrition/vitamin-d-side-effects