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
My program for uploading files to SharePoint was working normally until last week. Now, I see an error occurring during the upload process. I tested it using this code, and it’s giving me an error.
from office365.runtime.auth.client_credential import ClientCredential
from office365.sharepoint.client_context import ClientContext
client_id = "[client_id]"
client_secret = "[client_secret]
site_url = "https://example.sharepoint.com/site/ShareDoc"
client_credentials = ClientCredential(client_id, client_secret)
ctx = ClientContext(site_url).with_credentials(client_credentials)
web = ctx.web
ctx.load(web)
ctx.execute_query()
My program for uploading files to SharePoint was working normally until last week. Now, I see an error occurring during the upload process. I tested it using this code, and it’s giving me an error.
This is the error I received
I followed this link for my client_id and client_secret https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs
I don’t understand why this issue is happening because it was normal before.
The text was updated successfully, but these errors were encountered: