Skip to main content

onenote-common-errors

Decodes and resolves common OneNote Graph API errors, providing root cause analysis and diagnostic steps for effective debugging.

Install this skill

or
31/100

Security score

The onenote-common-errors skill was audited on May 25, 2026 and we found 21 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 94

Template literal with variable interpolation in command context

SourceSKILL.md
94.api(`/me/onenote/sections/${sectionId}/pages`)
medium line 101

Template literal with variable interpolation in command context

SourceSKILL.md
101console.error(`Payload size: ${Buffer.byteLength(htmlContent, "utf-8")} bytes`);
medium line 115

Template literal with variable interpolation in command context

SourceSKILL.md
115return await client.api(`/me/onenote/pages/${pageId}/content`).get();
medium line 118

Template literal with variable interpolation in command context

SourceSKILL.md
118console.warn(`Page ${pageId} listed but not accessible (likely deleted)`);
medium line 138

Template literal with variable interpolation in command context

SourceSKILL.md
138console.error(`Status: ${error.statusCode}`);
medium line 139

Template literal with variable interpolation in command context

SourceSKILL.md
139console.error(`Code: ${error.code}`);
medium line 140

Template literal with variable interpolation in command context

SourceSKILL.md
140console.error(`Message: ${error.message}`);
medium line 141

Template literal with variable interpolation in command context

SourceSKILL.md
141console.error(`Request-ID: ${requestId}`);
medium line 142

Template literal with variable interpolation in command context

SourceSKILL.md
142console.error(`Date: ${dateHeader}`);
medium line 147

Template literal with variable interpolation in command context

SourceSKILL.md
147console.error(`Server: ${parsed.serverInfo?.dataCenter ?? "unknown"}`);
medium line 149

Template literal with variable interpolation in command context

SourceSKILL.md
149console.error(`Diagnostics: ${diagnostics}`);
medium line 155

Template literal with variable interpolation in command context

SourceSKILL.md
155`For Microsoft support, provide: request-id=${requestId}, date=${dateHeader}`
low line 41

External URL reference

SourceSKILL.md
41| | | (3) Malformed JSON in PATCH body | Validate JSON structure matches [update spec](https://learn.microsoft.com/en-us/graph/onenote-update-page) |
low line 43

External URL reference

SourceSKILL.md
43| | | (5) Invalid `$filter` OData expression | Check [OData query syntax](https://learn.microsoft.com/en-us/graph/api/resources/onenote-api-overview) |
low line 186

External URL reference

SourceSKILL.md
186| 400 on PATCH page | JSON body missing `target` or `action` field | Review [update page spec](https://learn.microsoft.com/en-us/graph/onenote-update-page) |
low line 282

External URL reference

SourceSKILL.md
282"https://graph.microsoft.com/v1.0/me/onenote/notebooks" \
low line 299

External URL reference

SourceSKILL.md
299- [OneNote Error Codes](https://learn.microsoft.com/en-us/graph/onenote-error-codes)
low line 300

External URL reference

SourceSKILL.md
300- [OneNote API Overview](https://learn.microsoft.com/en-us/graph/api/resources/onenote-api-overview)
low line 301

External URL reference

SourceSKILL.md
301- [Graph API Known Issues](https://learn.microsoft.com/en-us/graph/known-issues)
low line 302

External URL reference

SourceSKILL.md
302- [OneNote Update Pages](https://learn.microsoft.com/en-us/graph/onenote-update-page)
low line 303

External URL reference

SourceSKILL.md
303- [OneNote Best Practices](https://learn.microsoft.com/en-us/graph/onenote-best-practices)
Scanned on May 25, 2026
View Security Dashboard
Installation guide →