I've created a flow in Power Automate Desktop that allows me to add a snippet to a specific OneNote Page. The entire flow works (dialog with input, determining which page to add to) but the actual updating the page keeps failing. In PAD, I see the error Bad Request, if I click on the error, it says something about invalid JSON.
If I run the same flow with static content (i.e. predetermined section, page and snippet), it also fails. However, if I run the flow from Power Automate web as a manual flow (again, with static content), it works flawlessly. I can't seem to find out what I'm doing wrong. From what I can see, the Power Automate flow uses the Sharepoint API/Graph API to update the page, whereas PAD uses the OneNote for Business API. Could it be that the latter one doesn't work correctly anymore?
Regards,
Jaap