GET /users/{userPrincipalName}/mySite response "302 Found"
I am trying to use the https://graph.microsoft.com/v1.0/users/{userPrincipalName}/mySite to get the users' onedrive site, but some requests received "302 Found"
And I got these in response header
Location:/_layouts/15/Throttle.htm#9
Ratelimit-Limit:100, 100;w=300;x-spo-scope="user";comment="Resource Percentage"
Ratelimit-Remaining:0
Ratelimit-Reset:58
Then redirect to "https://graph.microsoft.com/_layouts/15/Throttle.htm" and received "404"
{
"error": {
"code": "ResourceNotFound",
"message": "Invalid version: _layouts",
}
}
}
It seems to be related to the throttling, but it does not return 429(Too many requests) refer to https://video2.skills-academy.com/en-us/graph/throttling
And I think I'm far from the limits apply to the users resources refer to https://video2.skills-academy.com/en-us/graph/throttling-limits#identity-and-access-service-limits
I want to know why I received 302 redirect.
Could anyone help me with this?
Thanks.