I am trying to play an individual apple Music song using a playbackStore Id but whenever I attempt to play it I get this error
The user is properly authenticated and the playback store id seems to be valid. I was wondering if anyone else is having this issue or knows what could be causing it. Here is the code that is causing the error.
applicationMusicPlayer.setQueue(with: [songSelected.playbackStoreID])
applicationMusicPlayer.repeatMode = MPMusicRepeatMode.none
applicationMusicPlayer.play()
And the application Music Player is an MPMusicPlayerController.applicationMusicPlayer