Raw elderberries contain compounds called lectins that can make you sick. A few years ago there was a family that was poisoned by drinking raw elderberry juice and wound up in the hospital, though as I recall nobody died.
Cooking elderberries breaks them down, as does fermenting them, so elderberry jelly and elderberry wine are both safe. Apparently birds aren't affected by lectins.
Many beans are also dangerous to eat raw, including kidney beans and lima beans. I'm not sure about white/navy beans, but you almost never see them in a soft raw state, they're usually sold dried.