Earlier today I had no problem accessing the Spotipy API but all of a sudden it stopped working. When I forexample run the following:
spotipy.artist("5rSXS