@ricred1 Do you also use any streaming service such as Qobuz or Tidal? If so, do you get no errors then? If not, how about a Qobuz free trial and report back if the error is on both local file playback and streaming service or not.
If you know the error is isolated to local playback, I agree @vonhelmholtz suggestion to try a "dumb" switch vs. smart may eliminate it. I used to a Pro series Netgear that caused some weird errors. I also replaced it with a $20 TP-Link recommended by Andrew at Small Green Computer and the issue was resolved. Cheers,
Spencer