Sweet Potato can fit as an occasional add-on, not a daily extra.

Quick call

Yes, in moderation. Large servings can cause digestive upset due to fiber load.

What matters most

Cook thoroughly and serve plain, mashed or diced.

When to call your vet

If your dog has vomiting, diarrhea, unusual fatigue, or belly pain after eating sweet potato, call your vet the same day.

Source check: VCA and AKC both treat cooked plain sweet potato as a reasonable occasional add-on. Source