400 Bad request on recent() call #283
-
The same code worked fine, but some time ago it went 400 on fetching recent chats: skpy.core.SkypeApiException: ('400 response from GET https://azwcus1-client-s.gateway.messenger.live.com/v1/threads/48:calllogs', <Response [400]>) Were there any changes in the API itself? Why calllogs is there at all if we need chats? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
At a guess, Skype for Web has started presenting call via a pseudo user which doesn't have a text chat associated with it, and has a baked-in exception to avoid loading/showing it in the UI. SkPy tries to ignore some invalid chats, though doesn't currently look for a 400: Line 42 in 2d93e56 It'd be useful to see what the text response of that API call was, if any ( |
Beta Was this translation helpful? Give feedback.
-
Hello, thanks for the reply. The text is:
|
Beta Was this translation helpful? Give feedback.
This fix is now on the main branch.