Last Updated: 24 Jun 2022 09:38 by Kirby
Created on: 30 Oct 2020 01:55
Category: Kendo UI for jQuery
Type: Bug Report
kendoPDFViewer Errhas been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Hi Kendo Team,

I am getting this error when trying to open a pdf from Azure Blob using kendoPDFViewer. (Error: has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.)

I use token-based authentication by SSL token included to the image/pdf URLs and It works fine for image viewing using kendoImageEditor.

My code is simple as follows:

                            this.viewer = $("#pdfViewer").kendoPDFViewer({

                                pdfjsProcessing: {

                                    file: pdfUrl,


                                width: "100%",



Could you please let me know how to fix this issue?

Or do I need to use dplProcessing with an Authorization token

This item is a duplicate of an already existing item. You can find the original item here:
Posted on: 24 Jun 2022 09:38
I keep reading a lot of posts when I first get into trouble. This is how I once reached this website ( https://kodlogs.net/313/no-access-control-allow-origin-header-is-present-on-the-requested-resource-jquery ) and got the desired solution. You can read this post as well as visit here. I think it will be very useful for you
Posted on: 05 Nov 2020 16:43

Hello Manoj,

As this is a duplicated item, below you will find a link to the original post:

- https://feedback.telerik.com/kendo-jquery-ui/1493116-kendopdfviewer-error-has-been-blocked-by-cors-policy-no-access-control-allow-origin-header-is-present-on-the-requested-resource

Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Posted on: 30 Oct 2020 02:05
sorry I put this in wrong thread