Forum Discussion

Amber08's avatar
Amber08
Copper Contributor
Feb 27, 2025

Status code keep changing after every query (404 & 200)

I am using the graph api to get the folders under my OneDrive root directory but the result is different in every run (most of the time failing). I have given it the Files.Read and Files.ReadWrite permission. This happened after I changed my microsoft password, but changing it again doesn't fix the issue.

 

The query:

https://graph.microsoft.com/v1.0/me/drive/root/children?%24select=name%2C%20id

 

The screen recording:

https://youtu.be/NIaz0Q37osg

Timestamp:

0:00 - 0:13: 404 Not found error

0:16 - 0:26: 200 Files are found correctly

0:27 - 0:32: 404 Not found error again, without changing the query

No RepliesBe the first to reply

Resources