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. Canned beans Loaded with sodium and chemical preservatives. Chili beans Contain garlic, onions, and spices