spotify error implementation changed so updating code