# Blazor template issue

**URL:** <https://pdfjs.community/t/blazor-template-issue/2035>\
**Category:** Bug Reports\
**Created:** [September 15, 2022, 1:38pm UTC](https://pdfjs.community/t/blazor-template-issue/2035 "2022-09-15T13:38:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wesley.canneyt](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@wesley.canneyt](https://pdfjs.community/u/wesley.canneyt)\
**Post date:** [September 15, 2022, 1:38pm UTC](https://pdfjs.community/t/blazor-template-issue/2035/1 "2022-09-15T13:38:27Z")

</div>

We have integrated PDFJS Express in our Blazor wasm app.  
After integrating the component we see the following when loading a pdf:  
 ![error](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/21cfbd4a476f4174d6e1d9a7cc61b22f6b5632fc.png)

The error happens right after  
“.loadDocument(base64ToBlob(value.fileBase64), { filename: value.fileName,extension: ‘pdf’ });”

After a while searching we started from scratch again and downloaded the template files for blazor from the url: [Integrate JavaScript PDF Library & Blazor | PDF.js Express Viewer SDK](https://pdfjs.express/documentation/get-started-viewer/blazor/new-project)  
" Get the Blazor sample source code here"

The same error keeps occuring.  
I guess there’s some other things also not ok, when we search for text we also get errors.

How can we solve these issues?

gr

---

<div class="post-metadata">

**Author:** ![zserviss](https://avatars.discourse-cdn.com/v4/letter/z/a9a28c/32.png) [@zserviss](https://pdfjs.community/u/zserviss)\
**Post date:** [September 20, 2022, 3:53pm UTC](https://pdfjs.community/t/blazor-template-issue/2035/3 "2022-09-20T15:53:00Z")

</div>

Hi Wesley,

Thank you for pointing this out. Currently investigating the issue.

Best Regards,  
Zach Serviss  
Web Development Support Engineer  
PDFTron Systems, Inc.

Share how you are using PDF.js Express in your organization you could win a **$500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free**. Learn more [here](https://utm.guru/ueQNw)
