diff --git a/votify/spotify_api.py b/votify/spotify_api.py index dd812e4..db60a6f 100644 --- a/votify/spotify_api.py +++ b/votify/spotify_api.py @@ -470,6 +470,9 @@ class SpotifyApi: self.WIDEVINE_LICENSE_API_URL.format(type=media_type), challenge, ) + if response.status_code == 403: + logger.error(f"The device.wvd file is invalid or banned.") + logger.warning(f'Delete the device.wvd file to use the alternate key.') check_response(response) return response.content