Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

OneNote (business) connector - Unable to parse site ids from OneNote API

I am using Flow in a Office 365 Government G3 tentant and having problems using the OneNote (business) connector to Get sections in notebook, which returns with BadGateway, Status Code 502, and Body below:

  "error": {
    "code": 502,
    "message": "Unable to parse site ids from OneNote API. Code: 500, Response:",
    "source": "",
    "path": "choose[4]\\when[1]\\choose[2]\\when[1]",
    "clientRequestId": "3ce57d0e-e10e-413a-9d1d-c6be0e784f0b"

I tried to debug using a new flow, with just Get pages for specific section. The dropbox for Notebook Key populates with all my Notebooks, however when I select any Notebook, the dropbox for Notebook section shows "Could not retrieve values. Unable to parse site ids from OneNote API. Code: 500, Response:"

Not applicable

@Yeiner  can we get an update regarding a fix ETA for this tool?

Community Support
Community Support

Hello @Anonymous are you asking for GCC? 

Community Support
Community Support

Hello @Anonymous  based on my research, this is now available for GCC. did you try?

Regular Visitor

@Yeiner This is still not working, for me at least. Try and reproduce by creating a new flow, add "Get pages for a specific section", select a Notebook Key, and then try and select a Notebook section. You should see something like this Flow Error.


In my opinion, this is embarrassing for Microsoft. I've escalated this issue with my Microsoft reps, and thru this forum, with no success. And, what I see in this forum is people related to MS saying it's working, without any real "research" into the issue, and users like me restating the issue and pointing out potential causes, like a permission issue.


Is there a more formal way to file a bug report?



I am also still getting this error in GCC.


I actually did file a ticket for this back in September and worked with @Yeiner.  It was closed because the team knew about the issue and was actively working on a fix.

Community Support
Community Support

Hello All,


First of all, I want to apologize for the delay in my response.


We are having an issue with the API and we are currently working on this.


I will keep you posted 

It appears that this is working now.  Can anyone else confirm?

Community Support
Community Support

Hello @Yocomd I did a test and its working now 🙂

Regular Visitor

I confirmed it is working for me as well. US G3 Cloud

Hi @Yeiner ,

Was it ever fixed?  2 years later!

I work in an Educationnal A3 environnement and I've having the same problem.




Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,241)