Traceback (most recent call last):


 "/usr/local/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 417, in start

resp = yield from self._request_handler(request)


 "/usr/local/lib/python3.5/site-packages/aiohttp/web.py", line 289, in _handle

resp = yield from handler(request)


 "/usr/local/lib/python3.5/asyncio/coroutines.py", line 213, in coro

res = yield from res


 "/usr/local/lib/python3.5/asyncio/coroutines.py", line 213, in coro

res = yield from res


 "/usr/src/app/homeassistant/components/http/ban.py", line 58, in ban_middleware_handler

return (yield from handler(request))


 "/usr/src/app/homeassistant/components/http/__init__.py", line 422, in handle

result = handler(request, **request.match_info)


 "/usr/src/app/homeassistant/components/media_player/spotify.py", line 115, in get

self.oauth.get_access_token(request.GET['code'])


 "multidict/_multidict.pyx", line 124, in multidict._multidict._Base.__getitem__ (multidict/_multidict.c:3486)


 "multidict/_multidict.pyx", line 119, in multidict._multidict._Base._getone (multidict/_multidict.c:3421)
KeyError: "Key not found: 'code'"ESC[0m

Traceback (most recent call last):


 "/usr/src/app/homeassistant/helpers/entity_platform.py", line 219, in async_add_entities

for entity in new_entities]


 "/usr/src/app/homeassistant/helpers/entity_platform.py", line 216, in <listcomp>

self._async_add_entity(entity, update_before_add,


 "/usr/src/app/homeassistant/components/scene/homeassistant.py", line 43, in <genexpr>

hass, _process_config(scene)) for scene in scene_config)


 "/usr/src/app/homeassistant/components/scene/homeassistant.py", line 73, in _process_config

states[entity_id.lower()] = State(entity_id, state, attributes)


 "/usr/src/app/homeassistant/core.py", line 668, in __init__

"Format should be <domain>.<object_id>").format(entity_id))
homeassistant.exceptions.InvalidEntityFormatError: Invalid entity id encountered: vacuum.robbie.start. Format should be <domain>.<object_id>
