def getter(): chatmap = db.live.skype.chats.recent() while chatmap: for c in chatmap.values(): yield c chatmap = db.live.skype.chats.recent() chat = next(chats) Traceback (most recent call last): File "", line 1, in StopIteration print repr(chat) SkypeGroupChat(id=u'19:70f4853da85c4b3da5d8305ff7c01dd2@thread.skype', alerts=True, topic=u'Group Thingy', userIds=[], adminIds=[], open=False, history=False, active=False) chat.getMsgs() Traceback (most recent call last): File "", line 1, in File "site-packages\skpy\chat.py", line 71, in getMsgs File "site-packages\skpy\conn.py", line 261, in syncStateCall File "site-packages\skpy\conn.py", line 237, in __call__ SkypeApiException: ('404 response from GET https://azscus1-client-s.gateway.messenger.live.com/v1/users/ME/conversations/19:70f4853da85c4b3da5d8305ff7c01dd2@thread.skype/messages', )