Open
Description
Hi
we are trying to upload file to sharepoint using basic auth and below sample,
# Upload file to Sharepoint
target_folder = ctx.web.get_folder_by_server_relative_url(sharepoint_relative_url)
target_file = target_folder.upload_file(sharepoint_variable, file)
ctx.execute_query()
In the above code when it reaches ctx.execute_query() the ctx become none type at times and we get this error 'NoneType' object has no attribute 'text'"
I see many others posted similar issue. Can anyone suggest on the solution for this please
Thanks