
'NoneType' object has no attribute 'text' when tried to get a file from Sharepoint site using Office365-REST-Python-Client 2.5.10
I am facing problems trying to get a file from sharepoint site, I am succesfully connect to the site but I cannot get the file(I validated that the file and the url exist) is worthy to mention that this process worked very well until Monday but yesterday when I was doing some testings the process thrown this error 'NoneType' object has no attribute 'text' and I cannot figure out what is the problem if previously this code worked response = self.ctx.web.get_file_by_server_relative_url(file_relative_url) print(type(response)) self.ctx.load(response) self.ctx.execute_query()
Microsoft 365 and Office | SharePoint | Development
