Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Seems that API doesn't work #1

Open

Description

Hello. I cannot get pages with any URL. But in dev site it works.
For reproduce - just query any pages in any sections.
What should i do?

Activity

  1. leakymemory commented on Oct 17, 2016

    @leakymemory
    Contributor

    Hey Ivan, thanks for reporting this. Without a little more detail it's hard to say what's going wrong for you. Here's an example where we use the API to get the list of notebooks with sections, which will hopefully help you get unblocked:

    https://github.com/OneNoteDev/OneNotePicker-JS/blob/master/src/scripts/oneNotePickerDataSource.ts

    If you still can't get things working then please let us know and we'll help you track things down.

    Edit: Just realized you were talking about getting pages (vs. sections). This is something we haven't fully implemented yet. Matthew has added an issue to track adding support for the remaining APIs.

  2. mttwc commented on Oct 17, 2016

    @mttwc
    Contributor

    Hi Ivan, which method are you calling on OneNoteApi? We haven't implemented GET pages yet (it's a wip).

  3. maslowivan commented on Oct 27, 2016

    @maslowivan
    Author

    Matthew Chiam (@mttwc), Chad Shurtz (@leakymemory) Thank you for answers, I will wait for implementing GET pages then

  4. maslowivan commented on Oct 27, 2016

    @maslowivan
    Author

    I guess the problem is in API, because it works for everywhere excluding pages.
    https://www.onenote.com/api/v1.0/me/notes/sections/0-21768C03A2EFB164!2083/pages?orderby=createdTime&select=id,title,createdTime,lastModifiedTime&top=50 this query returns me blank array (0-21768C03A2EFB164!2083 is just my section) but on the dev site (for testing rest api) it returns correct array full of pages. Can you send it to OneNote developers or just test it by yourself?

  5. maslowivan commented on Aug 20, 2017

    @maslowivan
    Author

    Still no solution?

  6. mttwc commented on Aug 23, 2017

    @mttwc
    Contributor

    Hi Ivan, can you please do the following:

    • Issue the request that reproduces the unexpected response
    • In the response, copy the value of the 'X-CorrelationId' header and paste it here

    I'll be happy to dig in for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions