Open rethat opened 3 years ago
You cannot pull more that 5000 items from a SharePoint site. It's a known issue with SharePoint. You should use a ListView to strategically cut down the number of items you are pulling.
You cannot pull more that 5000 items from a SharePoint site. It's a known issue with SharePoint. You should use a ListView to strategically cut down the number of items you are pulling.
At first time, I just called site.List('Projects'), this code will pull all items of the list or only get information of the list. If it only gets information then I think it has an error in here.
I didn't call sp_list.get_list_items(view_name='ViewName')
I had this issue as well, but it worked when I skipped specifying the version in the Site call.
I had this issue as well, but it worked when I skipped specifying the version in the Site call.
Bruh, when I do this I've got anothers errors. Any help please ?
I have a list with more than 5000 records on my sharepoint site. I'm having issue with shareplum when I call site.List('Projects'), anyone can help me? Thanks
Code
Error
HTTPError Traceback (most recent call last) C:\Anaconda\envs\study\lib\site-packages\shareplum\request_helper.py in post(session, url, kwargs) 16 response = session.post(url, kwargs) ---> 17 response.raise_for_status() 18 return response
C:\Anaconda\envs\study\lib\site-packages\requests\models.py in raise_for_status(self) 940 if http_error_msg: --> 941 raise HTTPError(http_error_msg, response=self) 942
HTTPError: 500 Server Error: Internal Server Error for url: https://mydomain.sharepoint.com/sites/mysite/_api/lists/getbytitle('Projects')/RenderListDataAsStream
During handling of the above exception, another exception occurred:
ShareplumRequestError Traceback (most recent call last)