spotify-api / spotify-api.js

A complete wrapper for spotify web api for deno, node.js and the browser.
https://spotify-api.js.org
MIT License
214 stars 19 forks source link

handle `The access token expired` api error and refresh token #190

Closed adb-sh closed 2 years ago

adb-sh commented 2 years ago

Changes

match error message the access token expired from the spotify api and perform Client.refreshFromMeta()

Status

adb-sh commented 2 years ago

will fix issue https://github.com/spotify-api/spotify-api.js/issues/189

scientific-dev commented 2 years ago

Thanks for fixing this error. And, sorry for a very late response.

scientific-dev commented 2 years ago

The changes have been update in v9.2.5. If you encounter any bugs, open a new issue to resolve it.

Thanks for your support 👍 !