I have done extensive testing and research on the topic, but am unable to find much helpful information with this problem.
I'm trying to update a page's title in OneNote via the OneNote "Update page content" action.
However, each attempt at doing so fails to produce a result for around 12-14 minutes before finally spitting out this error:
{
"error": {
"code": 502,
"message": "{\r\n \"error\": {\r\n \"code\": 502,\r\n \"source\": \"XXX\",\r\n \"clientRequestId\": \"XXX\",\r\n \"message\": \"BadGateway\",\r\n \"innerError\": {\r\n \"error\": {\r\n \"@api.url\": \"https://aka.ms/onenote-errors#C20280\",\r\n \"code\": \"20280\",\r\n \"message\": \"Transient error occured while processing request. {0}\"\r\n }\r\n }\r\n }\r\n}, clientRequestId: XXX"
}
}
This is the request giving this result:
[
{
"target": "title",
"action": "replace",
"content": "New Title"
}
]
I can get a successful result immediately by targeting the "body", however this obviously doesn't change the title, which is what I need to do.
As far as I can tell, this is an error I have no way of fixing or working around, but if anyone has any ideas, or if someone who has the power to fix it could look into it, that would be amazing.
Thanks!