Android client doesn't sync, "Network Error"

I just encountered the same issue today on a Pixel 6 Pro running Android 15. Anything that uses an external viewer seems to report a Network error, but pictures and movies open without an issue.