Most varieties of beans contain lectins, a type of protein that can cause nausea, vomiting, and diarrhea in dogs, but cooking can destroy this protein. That is why it is advisable to cook the beans first before offering them to your dog. Kidney beans have higher lectins content than green beans. Thus green beans can be eaten raw sans the adverse effects.