Error while accessing external.js file

Asked

Viewed 103 times

0

I have a page in ASP.NET MVC and inside the Body tag I need to put the following javascript:

<script type="text/javascript" async src="https://d335luupugsy2.cloudfront.net/js/loader-scripts/4a756f5f-544e-4ae6-af72-956443dd4124-loader.js"></script>

But this call returns the following error: Failed to load Resource: the server responded with a status of 403 (Forbidden). I already put in <add key="webpages:Enabled" value="true" /> and still the error continues.

  • Have you tried to download the JS file and save it to your own server and from there make the call?

  • Marcus, I’ve tried yes and the error continues.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.