Getting Error code 675 from message delete while removing all messages from all chat #290
-
Hi, Since Skype is shutting down in May, I'd like to delete all my messages from all chats and close my account. I wrote a script, which you can find in this gist. It seemed to work at first, but I’m encountering some issues that I’m not sure how to solve—if they can be solved at all. The first issue is that, for most messages, when I call delete, I get an exception: The second issue is that my contacts have told me they’re receiving blank notifications from me. This worries me as I don't want to spam my contacts. I’m not sure if these two issues are related, that's why I'm grouping them in a single discussion. I couldn’t find any information about error code 675, so I checked the JSON returned by the Skype API and found: Except for the most recent messages, it seems they are not actually deleted—although I can delete them manually from the web or desktop versions. Am I missing something, or is there some caveat I should be aware of? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It would be useful to know how Skype for Web handles the deletions -- check the requests in your browser's developer tools (you can compare with SkPy by running with The exception itself might be dubious if |
Beta Was this translation helpful? Give feedback.
-
Although it's called shutdown, it's more like a merge into MS Teams. At least there were claims that they'll migrate user accounts (which is already true to some degree), contact lists (still not done) and even chat history. Meanwhile they're changing the API, the most notable change is |
Beta Was this translation helpful? Give feedback.
It would be useful to know how Skype for Web handles the deletions -- check the requests in your browser's developer tools (you can compare with SkPy by running with
SKPY_DEBUG_HTTP=1
set in your environment) to see if there's some extra parameters or a new call being used.The exception itself might be dubious if
675
is supposed to be a success state -- so far I've only seen error codes used for errors, so anyerrorCode
in the response will throw one.