It’s worth considering that a lot of melatonin is sold as gummies. They’re tasty. Little kids finds candy (gummies) and eats a whole bottle. Uh oh.
I’m sure there is a non-dangerous, or at least not life threatening, dose for most kids. I’d be surprised if one gummy sent a 10yo or similar aged kid to an ER without other extenuating circumstances.