Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 403 when search for contacts #226

Closed
dracox76 opened this issue Mar 21, 2023 · 4 comments · Fixed by #238
Closed

Error 403 when search for contacts #226

dracox76 opened this issue Mar 21, 2023 · 4 comments · Fixed by #238
Labels

Comments

@dracox76
Copy link

When using Skype.search("whatever"), the library responds with a 403 error from the following URL

403 response from GET https://skypegraph.skype.com/search/v1.1/namesearch/swx/', <Response [403]>)

MS changed the endpoints or the permisions? when i try to browse that URL, it shows that the site can´t be reached.

@Terrance
Copy link
Owner

Looks like the new endpoint is https://skypegraph.skype.com/v2.0/search, which requires a few extra headers to accept the request (X-Skype-Client, X-SkypeGraphServiceSettings, X-ECS-ETag), but still throws a 403 when given the same auth as Skype for Web. Not immediately clear what the problem is.

@lol1990lol1990
Copy link

I have the same error when trying to search for contacts using mobile number

@neodymium001
Copy link
Contributor

Hi @Terrance - is it possible to push this change to PyPi?

@Terrance
Copy link
Owner

Released in v0.10.6 (PyPI).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants