Share via

extractSensitivityLabels gives error `Empty Payload. JSON content expected.`

PrismaSaaS Dev 0 Reputation points
2023-10-04T00:25:29.8+00:00
{
    "error": {
        "code": "BadRequest",
        "message": "Empty Payload. JSON content expected.",
        "innerError": {
            "date": "2023-10-04T00:05:43",
            "request-id": "513ff8a1-76e0-435a-9a1f-eac4282aee28",
            "client-request-id": "513ff8a1-76e0-435a-9a1f-eac4282aee28"
        }
    }
}

https://learn.microsoft.com/en-us/graph/api/driveitem-extractsensitivitylabels?view=graph-rest-1.0&tabs=http
as per doc extractSensitivityLabels api does not require any payload ,still getting error Empty Payload. JSON content expected.

Microsoft Security | Microsoft Graph

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.