I've had Sonos working fine with Apple Music for 1.5-2 years. In the last week whenever I try to access my playlists by going to "Apple Music > My Music > Playlists > Apple Music Playlists" on my iPhone on iOS 11 I get an error saying "We've run into a problem. Try again." This also happens if if I try to open the Recently Added folder. I can however view any of my own playlists, and I can find Apple Music playlists if I search for them specifically and play them, I just can't browse my saved ones.
I've tried force quitting the app, removing the Apple Music service and re-adding it, but nothing has worked. I just submitted diagnostics if you can help at all - the number is 7991091.