I'm calling this endpoint https://graph.microsoft.com/beta/me/notes/
, and while the right user id was fetched, the below error occurs... Not sure what's going on at all, as this error is not documented:
{ error: { code: "UnknownError", message: "{ "Message": "No HTTP resource was found that matches the request URI 'https://www.onenote.com/api/beta/users('b2909c67-ab0e-45cf-a823-b0f945c22c00')/notes'." }", innerError: { request-id: "01b7d80f-aa04-463a-be58-c5a12414e243", date: "2016-02-27T07:07:06" } } }
--
When trying notebooks/ apparently my OAuth token doesn't have the scope - however it seems that the oauth token registration does not include notes?
{ error: { code: "40004", message: "The OAuth token provided does not have the necessary scopes to complete the request. Please make sure you are including one of the following scopes: Notes.ReadWrite.All,Notes.Read.All", innerError: { request-id: "73202234-970e-42c8-a569-eca4266ae75a", date: "2016-03-01T01:49:32" } } }