Spotify Configuration URI Issue [Log Included]

I am trying to authorize hass with Spotify and I am getting the following error:

Hassio v0.58.1

Thu Nov 30 2017 11:06:34 GMT-0500 (EST)

Error handling request
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/aiohttp/", line 416, in start
    resp = yield from self._request_handler(request)
  File "/usr/lib/python3.6/site-packages/aiohttp/", line 323, in _handle
    resp = yield from handler(request)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/http/", line 58, in ban_middleware
    return (yield from handler(request))
  File "/usr/lib/python3.6/asyncio/", line 213, in coro
    res = yield from res
  File "/usr/lib/python3.6/asyncio/", line 213, in coro
    res = yield from res
  File "/usr/lib/python3.6/site-packages/homeassistant/components/http/", line 427, in handle
    result = handler(request, **request.match_info)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/media_player/", line 115, in get
  File "/usr/lib/python3.6/site-packages/spotipy/", line 218, in get_access_token
    raise SpotifyOauthError(response.reason)
spotipy.oauth2.SpotifyOauthError: Bad Request 

I have added the following URLS and saved/restarted after each attempt


Any thoughts?

So of course I managed to solve it 3 minutes after making this post.

Should anyone else have issues in the future, for me I had to delete the .spotify-token-cache file from my configure folder, restart and try again.

Where do you find the .spotify-token-cache file??? I can’t find it anywhere.