Ate raw beans

Apparently my 3 year old ate some raw beans today. I had them in his sensory table for play. No idea when he ate them because I felt like I was next to him the whole time but he found a way obviously. We threw them in the trash around 4pm, and now at 11:30pm he barfed in bed and it was definitely the white and black beans (he also admitted he ate some). He’s acting fine otherwise, playing in the bath, just says his stomach still hurts.

Anyone had this happen before? Anything I should watch for except the normal dehydration symptoms?