How to Retrieve Children of OneDrive Personal Folder Named 'v1.0' Using MS Graph ?

Jareth Lomson 1 Reputation point
2025-01-12T10:13:21.4966667+00:00

Hi,

I’m trying to retrieve the children of a folder named v1.0. The response is a 404 error.

According to the instructions here, the request should be GET /me/drive/items/root:/Test/v1.0:/children

Interestingly, when the folder name is v1.1, the children are correctly retrieved.

Has anyone encountered this issue or knows why this might be happening?

Thanks

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,980 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yakun Huang-MSFT 9,780 Reputation points Microsoft Vendor
    2025-01-13T02:04:24.6766667+00:00

    Hello Jareth Lomson,

    Thank you for reaching out to Microsoft Support!

    After our test, when the folder name is v1.0, it runs well, and the test results are as follows:

    Screenshot 2025-01-13 015820

    User's image

    Please try again, or use the id of the item to get the children, as follows:

    Screenshot 2025-01-13 020223

    Reference document:

    https://learn.microsoft.com/en-us/graph/api/driveitem-list-children?view=graph-rest-1.0&tabs=http

    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.