However, canned pumpkin with added salt, spices, sugar, or other additives can irritate your dog's stomach further, counteracting the beneficial effects of the pumpkin. Note that you should NEVER use canned pumpkin pie, as it may contain xylitol, which is toxic to dogs.