-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Our team had been using sharepy to read/write files to our org's Sharepoint site for multiple years now. Out of the blue, sharepy auth started to fail on the following code blocker
sharepy.connect("companyname.sharepoint.com", username=username, password=password) with the following traceback
File "/Users/alex.ilyin/.pyenv/versions/dwh/lib/python3.10/site-packages/sharepy/session.py", line 15, in connect
return SharePointSession(site, auth=autoauth)
File "/Users/alex.ilyin/.pyenv/versions/dwh/lib/python3.10/site-packages/sharepy/session.py", line 61, in __init__
self.auth.login(self.site)
File "/Users/alex.ilyin/.pyenv/versions/dwh/lib/python3.10/site-packages/sharepy/auth/spol.py", line 26, in login
self._get_cookie()
File "/Users/alex.ilyin/.pyenv/versions/dwh/lib/python3.10/site-packages/sharepy/auth/spol.py", line 60, in _get_cookie
cookie = self._buildcookie(response.cookies)
File "/Users/alex.ilyin/.pyenv/versions/dwh/lib/python3.10/site-packages/sharepy/auth/spol.py", line 91, in _buildcookie
return 'rtFa=' + cookies['rtFa'] + '; FedAuth=' + cookies['FedAuth']
File "/Users/alex.ilyin/.pyenv/versions/dwh/lib/python3.10/site-packages/requests/cookies.py", line 334, in __getitem__
return self._find_no_duplicates(name)
File "/Users/alex.ilyin/.pyenv/versions/dwh/lib/python3.10/site-packages/requests/cookies.py", line 413, in _find_no_duplicates
raise KeyError(f"name={name!r}, domain={domain!r}, path={path!r}")
KeyError: "name='rtFa', domain=None, path=None"
Anyone have background on this error?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels