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/web_protocol.py", line 416, in start
    resp = yield from self._request_handler(request)
  File "/usr/lib/python3.6/site-packages/aiohttp/web.py", line 323, in _handle
    resp = yield from handler(request)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 58, in ban_middleware
    return (yield from handler(request))
  File "/usr/lib/python3.6/asyncio/coroutines.py", line 213, in coro
    res = yield from res
  File "/usr/lib/python3.6/asyncio/coroutines.py", line 213, in coro
    res = yield from res
  File "/usr/lib/python3.6/site-packages/homeassistant/components/http/__init__.py", line 427, in handle
    result = handler(request, **request.match_info)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/media_player/spotify.py", line 115, in get
    self.oauth.get_access_token(request.query['code'])
  File "/usr/lib/python3.6/site-packages/spotipy/oauth2.py", 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

http://192.168.x.x:8123/api/spotify
http://sub.domain.com/api/spotify

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.