With sardines you are of course introducing the mercury issue.
Vitamin D dosage is a surprisingly controversial topic, with many voices claiming the recommended dose is much too low and you are very unlikely to overdose if you are not taking completely unreasonable amounts of it.