ckclark
ckclark

Reputation: 61

Microsoft Graph API on OneDrive returning error on retrieving children

I have authenticated to OneDrive and am trying to query it using the Microsoft graph API. I tried the documented query:

https://graph.microsoft.com/v1.0/drive/root/children

However, this returns an HTTP 500 with a JSON body that includes:

...
"code": "InternalServerError",
"message": "Unsupported extension property type.",
...

Some other queries such as /drive/root and /drive/root:/Documents work fine, but I can't get children to list.

Upvotes: 2

Views: 666

Answers (2)

Marek Rycharski
Marek Rycharski

Reputation: 1704

We've identified an issue with such requests for personal Microsoft accounts (LiveId). It has been corrected and you should no longer see such failures.

Upvotes: 0

Nerxhan
Nerxhan

Reputation: 311

You need to use this url to make it work:

https://graph.microsoft.com/v1.0/me/drive/root/children

Thanks

Upvotes: 1

Related Questions