web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / The connector 'OneNote...
Copilot Studio
Unanswered

The connector 'OneNote (Business)' returned an HTTP error with code 400.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
I'm having this error:
 
Error Message: The connector 'OneNote (Business)' returned an HTTP error with code 400.
Inner Error: Notebook Key 'Breakdown%7C%24%7Chttps%3A%2F%2Fmicrosofteur.sharepoint.com%2Fteams%2Fasmeil%2FShared%20Documents%2FVideo%20Indexer%2FBreakdown' is not valid
Error Code: ConnectorRequestFailure
Conversation Id: add2ae16-70dd-4d69-bc1a-feb1651cdca3 Time (UTC): 2026-02-03T15:02:07.441Z
 
any idea how to resolve?
Categories:
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    706 on at
    Hi,

    Can you tell us what you have done and how your Copilot Agent is configured for the OneNote connector? What steps to perform to reproduce your error?
  • NH-03021501-0 Profile Picture
    Microsoft Employee on at
    I am building an agent whose first step is to read a OneNote page.
    screenshots attached
    Screenshot 2026-02-03 180353.png
    Screenshot 2026-02-03 180421.png
  • Bret Fraser Profile Picture
    Community Manager on at
    Tagging @André Arnaud de Calavon to notify that there was a follow up to a question.
     
    thanks!
  • André Arnaud de Calavon Profile Picture
    706 on at
    Hi,

    I just tried to reproduce you issue. For my user, I have two notebooks. One is working correctly, the other gives the same error message as you have. 
    So far, I have not identified any difference that leads to the root cause.

    Do you have other notebooks available for testing?

    In the meantime, I will try to find out what might be the issue. You can also raise a ticket for Microsoft Support as the error message is unclear.
  • Temmie Profile Picture
    2 on at
    I have gathered some findings and would like to share them with you.
     

    My text has been translated into English using AI, so please forgive me if a menu item is not named exactly the same way as it appears in your interface.

     

    My goal:

     

    • In Copilot Studio, I would like to teach my agent to read information from OneNote.

    • To do this, I need four connectors under "Tools" → "Add Tools", all of them prebuilt OneNote connectors.

    • The connectors are called:

      • Get recent notebooks

      • Get sections in notebook

      • Get pages for a specific section

      • Get page content


      •  


    •  
     

    In theory, this creates a coherent workflow.

     

    In practice, however, the connectors seem to make things unnecessarily difficult.

     

    One of the challenges is the issue discussed here.

     

    The "Get recent notebooks" connector retrieves notebook keys.

     

    Some of these notebook keys follow a standardized naming format that contains spaces and other special characters.

     

    For example:

     

    Temmie @ Work|$| @ Work

     

    This key allows me to access the notebook and appears to be passed to the second connector.

     

    However, when the key is passed to the second connector ("Get sections in notebook"), it seems to be URL-encoded and ends up looking something like this:

     

    Temmie%20%40%20Work%7C%24%7Chttps%3A%2F%2Fsage365-my.sharepoint.com%2F.... etc.

     

    The same connector ("Get sections in notebook") appears to expect the key in its raw format:

     

    Temmie @ Work|$| @ Work

     

    Because the URL-encoded version is being passed, the connector returns an HTTP 400 error.

     

    What I need is for the automatically retrieved key to be passed to the next connector and accepted in its original, unmodified format.

     

    One additional observation:

     

    If I use a notebook that follows a different naming convention without spaces or special characters, for example:

     

    TR_Backup

     

    the issue does not occur. It appears that no encoding is applied in this case.

     

    Renaming notebooks would therefore be a viable workaround, but it is not a real solution, since the overall functionality is intended to work dynamically with any notebook based on the logged-in user.

     

    The goal must therefore be to ensure that notebook keys are transferred between the two OneNote connectors without any conversion or URL encoding.

    Does that help at all? 
    Does anyone know how to solve this?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
sannavajjala87 Profile Picture

sannavajjala87 160 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 145

#3
Haque Profile Picture

Haque 121

Last 30 days Overall leaderboard