Traceback (most recent call last):

 "/home/vagrant/virtualenvs/django-shop/lib/python3.4/site-packages/django/template/utils.py", line 65, in __getitem__
return self._engines[alias]KeyError: 'django'
Traceback (most recent call last):


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/synapse/http/server.py", line 116, in wrapped_request_handler

yield request_handler(self, request, request_metrics)


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/synapse/http/server.py", line 257, in _async_render

callback_return = yield callback(request, **kwargs)


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/synapse/rest/client/v1/room.py", line 603, in on_POST

txn_id


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/synapse/handlers/room_member.py", line 533, in do_3pid_invite

txn_id=txn_id


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/synapse/handlers/room_member.py", line 639, in _make_and_store_3pid_invite

inviter_avatar_url=inviter_avatar_url


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1386, in _inlineCallbacks

result = g.send(result)


 "/home/ubuntu/.synapse/local/lib/python2.7/site-packages/synapse/handlers/room_member.py", line 745, in _ask_id_server_for_third_party_invite

token = data["token"]
KeyError: 'token'
