receiving 400 Bad Request when using javascript api

fatal

Posted on
Mar 27 2013

receiving a 400 bad request error when submitting js errors.

I'm not sure if a similar thing is occurring with the .NET api but no errors are making it through to raygun for .NET either.

This is the URL it is requesting:

https://api.raygun.io/entries?apikey=tK5WA2N4o5PSVWg%2Fv7PkDQ%3D%3D&payload=%7B%22OccurredOn%22%3A%222013-03-26T11%3A02%3A31.527Z%22%2C%22Details%22%3A%7B%22Error%22%3A%7B%22ClassName%22%3A%22TypeError%22%2C%22Message%22%3A%22model.xyz%20is%20not%20a%20function%22%2C%22StackTrace%22%3A%5B%7B%22LineNumber%22%3A17%2C%22ClassName%22%3A%22line%2017%2C%20column%20null%22%2C%22FileName%22%3A%22http%3A%2F%2Flocalhost%3A9333%2FScripts%2Fbusinesssettings%2FBusinessDetails.js%22%2C%22MethodName%22%3A%22kp.BusinessDetails.ViewModel%2Fmodel.Save%22%7D%2C%7B%22LineNumber%22%3A2099%2C%22ClassName%22%3A%22line%202099%2C%20column%20null%22%2C%22FileName%22%3A%22http%3A%2F%2Flocalhost%3A9333%2FScripts%2Fknockout-2.1.0.debug.js%22%2C%22MethodName%22%3A%22ko.bindingHandlers.event.init%2F%3C%22%7D%2C%7B%22LineNumber%22%3A1%2C%22ClassName%22%3A%22line%201%2C%20column%20null%22%2C%22FileName%22%3A%22http%3A%2F%2Flocalhost%3A9333%2FScripts%2Fraygun.min.js%22%2C%22MethodName%22%3A%22p%22%7D%2C%7B%22LineNumber%22%3A3061%2C%22ClassName%22%3A%22line%203061%2C%20column%20null%22%2C%22FileName%22%3A%22http%3A%2F%2Flocalhost%3A9333%2FScripts%2Fjquery-1.8.0.js%22%2C%22MethodName%22%3A%22jQuery.event.dispatch%22%7D%2C%7B%22LineNumber%22%3A2677%2C%22ClassName%22%3A%22line%202677%2C%20column%20null%22%2C%22FileName%22%3A%22http%3A%2F%2Flocalhost%3A9333%2FScripts%2Fjquery-1.8.0.js%22%2C%22MethodName%22%3A%22jQuery.event.add%2FeventHandle%22%7D%5D%7D%2C%22Environment%22%3A%7B%22Browser-Width%22%3A1920%2C%22Browser-Height%22%3A760%2C%22Screen-Width%22%3A1920%2C%22Screen-Height%22%3A1200%2C%22Color-Depth%22%3A24%2C%22Browser%22%3A%22Mozilla%22%2C%22Browser-Name%22%3A%22Netscape%22%2C%22Browser-Version%22%3A%225.0%20(Windows)%22%2C%22Platform%22%3A%22Win32%22%7D%2C%22Client%22%3A%7B%22Name%22%3A%22raygun-js%22%2C%22Version%22%3A%221.0.1%22%7D%2C%22Request%22%3A%7B%22Url%22%3A%22http%3A%2F%2Flocalhost%3A9333%2FBusiness%2F1%2FBusinessDetails%22%2C%22QueryString%22%3A%7B%7D%2C%22Headers%22%3A%7B%22User-Agent%22%3A%22Mozilla%2F5.0%20(Windows%20NT%206.1%3B%20WOW64%3B%20rv%3A19.0)%20Gecko%2F20100101%20Firefox%2F19.0%22%2C%22Referer%22%3A%22http%3A%2F%2Flocalhost%3A9333%2FBusiness%2F1%2FPayRun%22%2C%22Host%22%3A%22localhost%22%7D%7D%7D%7D


gonace

Posted on
Apr 09 2013

I've experienced the same problem time to time, this only happens with the JS Provider.

I've also experienced 414 errors, ("NetworkError: 414 Request-URI Too Large").


John-Daniel Trask

Raygun

Posted on
Apr 16 2013

Hi,

Just updating this thread - sorry for being quiet on it. We have been investigating this and are working on an improvement to the JS provider to help resolve these issues.

I'll update the thread once we have it sorted.

Kind regards,

John-Daniel Trask
Co-founder
Mindscape


John-Daniel Trask

Raygun

Posted on
Apr 24 2013

Hi,

Sorry I missed updating this thread, we released a bunch of improvements to the JS provider and detailed them here:

http://raygun.io/blog/2013/04/raygun4js-gets-bigger-error-messages-jquery-support/

Please let us know if you have any further issues!


Reply