11-10-2017 04:33 PM
11-10-2017 04:33 PM
Hi, I was told by the Microsoft general support that this is the right place to ask questions about Sharepoint Online API.
So here is our situation, we have been using the Sharepoint API to access our customers’ onedrive and sites docs. It stopped working around Nov 3 for a couple of our customers (we can still get the meta data, but we were not able to download the content). The following is the message that we received when trying to download the content:
ERROR-Got 500 Internal Server error. Response Content: (<?xml version=“1.0” encoding=“utf-8"?><m:error xmlns:m=“http://schemas.microsoft.com/ado/2007/08/dataservices/metadata“><m:code>-2147023636, Microsoft.SharePoint.SPException</m:code><m:message xml:lang=“en-US”>The label that’s applied to this item prevents it from being edited or deleted. Check the item’s label for more details.</m:message></m:error>) || URL > https://<domain> -my.sharepoint.com/personal/<user_domain>/_api/Web/getfilebyId(‘<doc_id>)/$value
So our questions are:
1. What are the different cases for such errors?
2. Is this related to theSecurity and Compliance's Labeling/DLP policy?
3. The error message says: "The label that’s applied to this item prevents it from being edited or deleted. ", but we were just trying to download. Is that a bug?
4. How do we work around this? Are there some exception settings that our customers can do to enable API download from our app?
One important note: We are using app-only authentication for the API.
Also, we did some search and found that other app developers are also encountering this issues very recently. So we suspect that it's some updates that Microsoft rolled out recently, and it seemed like it's rolled out for selected tenants only.
We are completely blocked. Please help.
11-11-2017 12:12 PM
11-11-2017 02:11 PM
by seanachim on May 23, 2020
by RJRaju on May 20, 2020
by Thomas Leclaire on May 18, 2020
by Hd2519250 on May 18, 2020
by Cathy Dew on May 21, 2020
by Mark Kashman on May 21, 2020
by Vesa Juvonen on May 20, 2020