I am trying to make a cross domain request. I am using jquery.ajax-cross-origin.min.js. The request looks like this
url: QueryURL,
crossOrigin: true,
async: false,
dataType: 'application/json',
type: "GET",
success: function (data) {
alert(data);
fn(data);
}
});
The actual data returned from the page is json. But I am getting the below error in console
Refused to execute script because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
The surprising factor for me is I am facing this error only at a particular time of day. The code works fine during evenings and around 1am the same code starts giving error. Is there any daily limit for each user to access google cross domain API?
Please advice what I am missing here