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

MissingSchema: Invalid URL 'None': No scheme supplied. Perhaps you meant http://None? #75

Open
mcleanshepherd opened this issue Jan 27, 2023 · 1 comment

Comments

@mcleanshepherd
Copy link

No matter what I do, I can't seem to get aroud this error. I take the code from the examples (subsituting the arguments with the name of my own site):

import requests
import sharepy

auth = sharepy.auth.SharePointOnline(username="user@example.com")
auth.login(site="example.sharepoint.com")
r = requests.get("https://example.sharepoint.com", auth=auth)

Adding 'https://' or 'http://' to the site argument of auth.login does not change anything.

Python: 3.9.13
requests: 2.28.1
sharepy: 2.0.0

trace in attached file, beginning directly after entering my password at the prompt.
sharepy_auth_login_missing_schema.txt

@imchaitu
Copy link

Can it not be solve soon?

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

No branches or pull requests

2 participants