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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: