You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep getting the below mentioned error, been stuck on this since 2 days
ERROR - upload failed because of 'SharePointSession' object has no attribute 'cookie'
Traceback (most recent call last):
File "sharepointTEST.py", line 58, in upload_to_sharepoint
p = s.post(base_path+"/sites/"+site_name+"/_api/web/folders",
File "C:\Program Files\Python38\lib\site-packages\sharepy\session.py", line 150, in post
kwargs["headers"]["Authorization"] = "Bearer " + self._redigest()
File "C:\Program Files\Python38\lib\site-packages\sharepy\session.py", line 126, in _redigest
data="", headers={"Cookie": self.cookie})
AttributeError: 'SharePointSession' object has no attribute 'cookie
The text was updated successfully, but these errors were encountered:
`
`
I keep getting the below mentioned error, been stuck on this since 2 days
Traceback (most recent call last):
File "sharepointTEST.py", line 58, in upload_to_sharepoint
p = s.post(base_path+"/sites/"+site_name+"/_api/web/folders",
File "C:\Program Files\Python38\lib\site-packages\sharepy\session.py", line 150, in post
kwargs["headers"]["Authorization"] = "Bearer " + self._redigest()
File "C:\Program Files\Python38\lib\site-packages\sharepy\session.py", line 126, in _redigest
data="", headers={"Cookie": self.cookie})
AttributeError: 'SharePointSession' object has no attribute 'cookie
The text was updated successfully, but these errors were encountered: