Hi,
We've integrated with the beta version of the Graph API, using the below call:
https://graph.microsoft.com/beta/sites/{{siteId}}/pages
Where the "{{siteId}}" variable is the ID of a site in our SharePoint tenant.
Whenever we query this endpoint for one of our sites, we receive the below:
HTTP Status 422:
{
"error": {
"code": "notSupported",
"message": "The request is unprocessable because it uses too many resources",
"innerError": {
"code": "tooManyResources",
"date": "2023-05-02T13:37:57",
"request-id": "eedfa0a2-a72f-4b50-a571-70a2ac503929",
"client-request-id": "eedfa0a2-a72f-4b50-a571-70a2ac503929"
}
}
}
Is there any way we can circumvent this error? I've tried using pagination in my calls but this doesn't work.
It's worth noting that this works fine for 4/5 sites we've tried internally, but one of these fails. I have a suspicion it's due to the number of pages in the SharePoint site, but these currently cannot be archived down or deleted.