Wheat corn and soy are typically the grains that have problems. Rice and oats are usually safe.

the dog may just have an over-abundance of bad bacteria in their gut too. Wrigley had that...