Slow response getting Planner data

Javier Ordiales 21 Reputation points
2021-04-11T19:59:20.723+00:00

Hi,

In the last few days I have been having problems retrieving data from Planner through Graph API. The get plans, get tasks, get details and get checklists operations last too long. It is even impossible making a call to get one task. The call is stuck for several minutes. I am using SDK and calling the API with a GraphServiceClient object. I was not having this problem weeks ago so I assume something has change in the way the API manage requests. Any suggestions?

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

Accepted answer
  1. Deva-MSFT 2,256 Reputation points Microsoft Employee
    2021-04-15T17:26:12.62+00:00

    Javier, ok you see 429 too many requests and some time it works. Working with Microsoft Graph i learnt that when a throttling threshold is exceeded, Microsoft Graph limits any further requests from that client for a period of time. When throttling occurs, Microsoft Graph returns HTTP status code 429, the subsequent requests fail. In such scenario, you can look at the suggested wait time which is returned in the response header of the failed request. Also throttling behavior can depend on the type and number of requests. Let me know if this helps.

    0 comments No comments

0 additional answers

Sort by: Most helpful