# Error when loading base64 document

**URL:** <https://pdfjs.community/t/error-when-loading-base64-document/1577>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [April 13, 2022, 1:24pm UTC](https://pdfjs.community/t/error-when-loading-base64-document/1577 "2022-04-13T13:24:37Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [April 13, 2022, 1:24pm UTC](https://pdfjs.community/t/error-when-loading-base64-document/1577/3 "2022-04-13T13:24:41Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Open a document from base64 data](https://pdfjs.express/documentation/basic-operations/open-document/base64)
- [Blazor project PDF.js Express Viewer integration issues - Passing WebViewer elements to .NET Core](https://pdfjs.express/documentation/get-started-viewer/blazor/blazor-integration-issues#passing-webviewer-elements-to-.net-core)
- [Saving a document with annotations](https://pdfjs.express/documentation/basic-operations/save-document/save-with-annotations)

APIs:
- [Core.Document - requirePage(pageNumber)](https://pdfjs.express/api/Core.Document.html#requirePage__anchor)
- [Core.DisplayModeManager - setDisplayMode(displayMode)](https://pdfjs.express/api/Core.DisplayModeManager.html#setDisplayMode__anchor)
- [Core.Annotations.Forms.FieldManager - getFields()](https://pdfjs.express/api/Core.Annotations.Forms.FieldManager.html#getFields__anchor)

Forums:
- [Integrate PDF.JS Express in Salesforce Lightning Component](https://pdfjs.community/t/integrate-pdf-js-express-in-salesforce-lightning-component/442/1)
- [How to get the annotation id when I highlight some text and also how to get the page no, quads and highlighted text from my annotations object?](https://pdfjs.community/t/how-to-get-the-annotation-id-when-i-highlight-some-text-and-also-how-to-get-the-page-no-quads-and-highlighted-text-from-my-annotations-object/977/1)
- [Am getting this error when loading WebViewer with Vue application](https://pdfjs.community/t/am-getting-this-error-when-loading-webviewer-with-vue-application/1319/1)

---

_[View the full topic](https://pdfjs.community/t/error-when-loading-base64-document/1577)._
