You would have to take crazy amounts of vitamin D - more than 250 mcg (10000 IU) - for it to be toxic [0][1].
[0] https://academic.oup.com/ajcn/article/85/1/6/4649294
[1] https://asbmr.onlinelibrary.wiley.com/doi/full/10.1359/jbmr....
[0] https://academic.oup.com/ajcn/article/85/1/6/4649294
[1] https://asbmr.onlinelibrary.wiley.com/doi/full/10.1359/jbmr....
400mg = 400000mcg = 16000000ui https://www.azcalculator.com/calc/vitamin-d-mcg-iu-converter...