Problem info
-Spotify access token will randomly expire
-API calls return a 401 status code
-might be from an anonymous function? stacktrace is hard to decipher
Possible solution
If errors are caught in a .catch() handler, see if the status code matches 401. If so, stop any further API calls until a new token has been obtained
Problem info
-Spotify access token will randomly expire
-API calls return a 401 status code
-might be from an anonymous function? stacktrace is hard to decipher
Possible solution
If errors are caught in a .catch() handler, see if the status code matches 401. If so, stop any further API calls until a new token has been obtained