Open GrumeiA opened 1 week ago
ditto here
ctx = ClientContext(sharepoint_base_url).with_user_credentials(my_info['username'], my_info['password'])
folder = ctx.web.folders.get_by_path("Shared Documents").get().execute_query()
folder
# web = ctx.web.get().execute_query()
# print('Connected to SharePoint: ',web.properties['Title'])
both of these don't work
Intro:
Hello. First of all, thank you for the effort that you put into this library. Is is very usefull for me and many other users.
Current situation:
Since a few weeks ago I am encountering a failure which leads to this library. I am trying to search or download automatically some files from SharePoint (Excel files, if it matters). My code has a retry in case of sharepoint failure, meaning that it will redo the python object, with a fresh connection and then retry to download again. This procedure is redone 3 times. If download still fails, then it will abandon the download process.
Problem:
Sometimes the search/download fails, even after 3 retry attempts. The behaviour is seen random, with no specific conditions. If I give it a retry a few hours later, everything works fine.
Please have a look over the trace that I get from Office365 library:
For debug details I can also offer the code used in this case (for search):