Unable to get notebooks of a sharepoint site

%3CLINGO-SUB%20id%3D%22lingo-sub-785198%22%20slang%3D%22en-US%22%3EUnable%20to%20get%20notebooks%20of%20a%20sharepoint%20site%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-785198%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20execute%20the%20following%20graph%20API%20request%20against%20one%20of%20our%20customer's%20sharepoint%20site.%3C%2FP%3E%3CP%3EGET%20%3CA%20title%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fsites%2Fexigencecomau.sharepoint.com%2C3369fc9f-7699-414c-aaa7-3ec45914864e%2Cc0ee5173-517c-41b1-8dff-149d1c28ca76%2Fonenote%2Fnotebooks%22%20href%3D%22https%3A%2F%2Foffice365.us.vadesecure.com%2Fsafeproxy%2Fv3%3Ff%3D9mF87uEhaQ-gvaWHI8O3gogEXHoDEduYq2nmjlS1ZLGTOBJaiEyoEgINv7zjnlLu%26amp%3Bi%3D5RLNnxC-Lq226sYznzp1Hp8-4RS64iQvzZBTdbXrwO1Ps9rm_4vDLqECithhcyAuEb-8eUlK-_beeKgzyoEtgA%26amp%3Bk%3DgKjE%26amp%3Br%3Dcm4NK-wWipDxnyh-uD3CCztS9nsCDiDzaseW_9K8bM_O-zU4JXgj9tHy6K6gOh9K%26amp%3Bu%3Dhttps%253A%252F%252Ftracking.cirrusinsight.com%252F5c9e9cdc-4047-406c-9a55-96a184081614%252Foffice365-us-vadesecure-com-safeproxy-v38%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fsites%2F%2Fonenote%2Fnotebooks%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20ending%20up%20with%20the%20below%20response.%3C%2FP%3E%3CP%3E%3CEM%3E%7B%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%22error%22%3A%20%7B%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%22code%22%3A%20%2210013%22%2C%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%22message%22%3A%20%3CSTRONG%3E%22One%20or%20more%20of%20the%20document%20libraries%20on%20the%20user%20or%20group%E2%80%99s%20OneDrive%20contains%20more%20than%2020%2C000%20items%20and%20cannot%20be%20indexed%20for%20querying%20using%20the%20API.%3C%2FSTRONG%3E%20Browse%20to%20this%20page%20for%20more%20information%3A%20%3CA%20href%3D%22https%3A%2F%2Foffice365.us.vadesecure.com%2Fsafeproxy%2Fv3%3Ff%3DHQV0yaT_IRk54S9YKtelRWoHr1JMB-aV-6SSuQGkTIKSSgKITd4WRUx2dPXyIdxq%26amp%3Bi%3D5pj-00XsG9AYtr-2QlHDoHsno7SnzZUWkrpTL73mcsfe3vOUiBl8Ct_lDr3yKD4YZht2Hl3TfWky4cIGb6qTCw%26amp%3Bk%3Dj9Xn%26amp%3Br%3DRscOKuvtSE83ujlQr_do4UBQS4W25QswDVZBjNgTzIk7_hY4_5A_2ualOZ_XcjpW%26amp%3Bu%3Dhttps%253A%252F%252Ftracking.cirrusinsight.com%252F5c9e9cdc-4047-406c-9a55-96a184081614%252Foffice365-us-vadesecure-com-safeproxy-v37%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.msdn.microsoft.com%2Fonenotedev%2F2016%2F09%2F11%2Fonenote-api-calls-fail-with-a-large-number-of-items-in-a-sharepoint-document-library%2F%3C%2FA%3E%22%2C%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%22innerError%22%3A%20%7B%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%22request-id%22%3A%20%22f22a0847-ecf3-4ae6-886d-e8826c0bf8c2%22%2C%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%22date%22%3A%20%222019-07-30T04%3A57%3A17%22%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%7D%20%3C%2FEM%3E%3CEM%3E%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%7D%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%7D%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBased%20on%20the%20link%20provided%20we%20have%20reached%20the%20customer%20with%20the%20workaround%20but%20they%20said%20they%20don't%20have%20such%20a%20number%20of%20items%20under%20their%20sharepoint%20site.%20The%20attached%20screenshot%20is%20provided%20by%20the%20customer.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20531px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F125373iE507A34E89EC6DA1%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image003.png%22%20title%3D%22image003.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-785198%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EGraph%20API%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneNote%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

I am trying to execute the following graph API request against one of our customer's sharepoint site.

GET https://graph.microsoft.com/v1.0/sites//onenote/notebooks

 

But ending up with the below response.

{

"error": {

"code": "10013",

"message": "One or more of the document libraries on the user or group’s OneDrive contains more than 20,000 items and cannot be indexed for querying using the API. Browse to this page for more information: https://blogs.msdn.microsoft.com/onenotedev/2016/09/11/onenote-api-calls-fail-with-a-large-number-of...",

"innerError": {

"request-id": "f22a0847-ecf3-4ae6-886d-e8826c0bf8c2",

"date": "2019-07-30T04:57:17"

}  

}

}

 

Based on the link provided we have reached the customer with the workaround but they said they don't have such a number of items under their sharepoint site. The attached screenshot is provided by the customer.

 

image003.png

 

 

0 Replies