403 (Forbidden)

Baris

Posted on
Feb 12 2016

I'm seeing some Javascript errors in the console while browsing my app, like these:

Failed to load resource: the server responded with a status of 403 (Forbidden) https://api.raygun.io/events?apikey=XXXX (changed for security)

or

POST https://api.raygun.io/events?apikey=XXXX (changed for security) 403 (Forbidden) http://cdn.raygun.io/raygun4js/raygun.min.js

Running IIS 8.5 on Windows 2012, Amazon EC2 instance.. Any ideas?


jeremy

Raygun

Posted on
Feb 12 2016

Hi Baris,

Have you previously enabled Pulse on your site? Those requests are to our Pulse API endpoint and you will receive a 403 if you have not enabled Pulse or if you had been running a Pulse trial but it is now expired.


Jeremy


Baris

Posted on
Feb 12 2016

Yeah I tried Pulse for a while.. So removing Pulse codes will fix this problem?


jeremy

Raygun

Posted on
Feb 12 2016

Yes that's correct, you will want to remove the following line from the initialization script section to disable Pulse which will stop it from attempting to send any data:

rg4js('enablePulse', true);


Jeremy


Baris

Posted on
Feb 12 2016

Thanks Jeremy, it solved the issue..


Reply