We are currently leveraging the Graph API to retrieve a OneNote page within a group notebook. However, one of our customers frequently encounters a 504 gateway timeout error when attempting to load the page using this endpoint.
Endpoint:
GET https://graph.microsoft.com/v1.0/groups/{group-id}/onenote/pages/{page-id}
Error Received:
504 Gateway Timeout - {
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"date": "2023-08-15T06:05:13",
"request-id": "e89a5741-5e3d-44e7-9893-16ab99720299",
"client-request-id": "b39b1e1f-4130-424e-9741-696341b74239"
}
}
}
Some additional context:
- The notebook in question contains only a few pages.
- The customer can successfully navigate to the OneNote page via the OneNote UI.
- The 504 error is consistent and occurs frequently.
Given that the customer can access the page through the OneNote UI without any issues, we're puzzled as to why the Graph API call consistently results in a 504 error.
For reference, we're following the API documentation available here.
Could you provide insights into the potential reasons for this behavior and any possible solutions?
Thank you for your assistance.