-
Notifications
You must be signed in to change notification settings - Fork 43
Description
As tested this code, I could download file from sharepoint, and could not upload file to sharepoint via script, but I can upload via GUI (same path)
The error returned 403 code:
File "/home/azureuser/.local/lib/python3.8/site-packages/office365/runtime/client_object.py", line 44, in execute_query
self.context.execute_query()
File "/home/azureuser/.local/lib/python3.8/site-packages/office365/runtime/client_runtime_context.py", line 162, in execute_query
self.pending_request().execute_query(qry)
File "/home/azureuser/.local/lib/python3.8/site-packages/office365/runtime/client_request.py", line 62, in execute_query
raise ClientRequestException(*e.args, response=e.response)
office365.runtime.client_request_exception.ClientRequestException: ('-2147024891, System.UnauthorizedAccessException', 'Access denied.', "403 Client Error: Forbidden for url
Is there any advice on this error?