Another reason that you might get the “not encoded correctly” is that there’s some sort of wifi interference blocking the ability of the speakers in getting the correct information from the Apple servers, but it does seem unlikely, given that you’ve gotten the same thing at two locations. Have you checked with Apple to see if they’ve made changes? I’d also be tempted to re-initialize my Apple connection in both locations, just as one of those “old” things that they’ll likely ask you to do.
But, all that being said, I still would recommend that you submit a system diagnostic 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.