BjoernPetersen / MusicBot-plugins

Collection of official MusicBot plugins
MIT License
0 stars 2 forks source link

Error when closing Playback #7

Open BjoernPetersen opened 5 years ago

BjoernPetersen commented 5 years ago
[DefaultDispatcher-worker-12] ERROR net.bjoernpetersen.spotify.playback.SpotifyPlayback - Could not pause playback
com.wrapper.spotify.exceptions.detailed.ForbiddenException: Player command failed: Restriction violated
        at com.wrapper.spotify.SpotifyHttpManager.getResponseBody(SpotifyHttpManager.java:302)
        at com.wrapper.spotify.SpotifyHttpManager.put(SpotifyHttpManager.java:194)
        at com.wrapper.spotify.requests.AbstractRequest.putJson(AbstractRequest.java:145)
        at com.wrapper.spotify.requests.data.player.PauseUsersPlaybackRequest.execute(PauseUsersPlaybackRequest.java:34)
        at net.bjoernpetersen.spotify.playback.SpotifyPlayback$pause$2.invokeSuspend(SpotifyPlayback.kt:37)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:238)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:742)