Download Folder from Sharepoint site using Graph Api

Nilesh Karotra 0 Reputation points
2025-03-05T06:40:58.65+00:00

I am trying to download a folder from one of the sharepoint sites using the graph api

https://graph.microsoft.us/v1.0/sites/{site-id}/drives/{drive-id}/items/{folder-id}/content?format=zip

But it returns the following error :


{
    "error": {
        "code": "UnknownError",
        "message": "",
        "innerError": {
            "date": "2025-03-05T06:20:50",
            "request-id": "1c559ca1-e8b4-4091-9db6-2241c33043de",
            "client-request-id": "1c559ca1-e8b4-4091-9db6-2241c33043de"
        }
    }
}
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-03-05T07:37:55.7933333+00:00

    Hello Nilesh Karotra,

    Thank you for reaching out to Microsoft Support!

    As for your problem, we conducted a test and found the same error. As far as I know, the endpoint ran well before, which may be due to the temporary strike caused by the update of Graph API. Please wait for some time and try again, the problem will recover by itself.

    Or you can open a support ticket with Microsoft Support to get help from the API owner.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.


Your answer

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