Python Forum
python skype issue - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: python skype issue (/thread-28145.html)



python skype issue - heehaa - Jul-07-2020

Hi all,

I'm getting error in trying to communicate in a group chat via skype.

Traceback (most recent call last): File "C:\Program Files\Python\Python38-32\ga.py", line 12, in skc.recent() File "C:\Program Files\Python\Python38-32\lib\site-packages\skpy\chat.py", line 452, in recent info = self.skype.conn("GET", "{0}/threads/{1}".format(self.skype.conn.msgsHost, json.get("id")), File "C:\Program Files\Python\Python38-32\lib\site-packages\skpy\conn.py", line 219, in call raise SkypeApiException("{0} response from {1} {2}".format(resp.status_code, method, url), resp) skpy.core.SkypeApiException: ('404 response from GET https://azwus1-client-s.gateway.messenger.live.com/v1/threads/19:*********************', ) [Finished in 7.483s]

I'm trying to test sending a simple chat to an existing groupchat but I'm not sure what is causing this error. I'm currently using this code.
ch = sk.chats["19:***********************@thread.skype"] //due to privacy issue, i cant display the id

ch.sendMsg("testing")
whereas I have no issue with 1 to 1 conversation such as this

ch = sk.contacts["live@123"].chat

ch.sendMsg("testing")
this will work just fine.




Can someone enlighten me what is the issue with it? really appreciate a lot.


RE: python skype issue - heehaa - Jul-07-2020

anyone can help? posted this question for weeks in stackoverflow but no one able to assist as well.. really appreciate if someone can tell me what is the issue or other way to send msg to an existing groupchat. i'm at the last step of my automation but stuck at this skype issue.. =(