Avoid these beans to keep your pet safe: ... Baked beans — High in sugar, and also often contain tomatoes, onions, and garlic, which can be dangerous for dogs. Refried beans — Contain preservatives and seasonings not suited for pups, including garlic, salt, cumin, and chili powder.