It’s more likely to be a network issue than anything else, but there’s not enough detail in your post to give you much more than that.
I would recommend that you submit a system diagnostic from the Sonos app within 10 minutes of experiencing this problem, and call Sonos Support to discuss it.
There may be information included in the diagnostic that will help Sonos pinpoint the issue and help you find a solution.
When you speak directly to the phone folks, they have tools at their disposal that will allow them to give you advice specific to your Sonos system and network.