This is a migrated thread and some comments may be shown as answers.

AJAX Error: error POST - Status Code 0

1 Answer 117 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Blake
Top achievements
Rank 1
Blake asked on 10 Aug 2020, 02:57 AM

Hi Everyone,

The company I work for use KendoUI through JQuery and MVC.

We are doing Ajax calls via KendoGrid using Razor Pages. We have been getting a few status code 0 Ajax errors and are unsure how to proceed.
We log all of our errors into Raygun but once logged these Ajax errors do not have a stacktrace other than the message.

    I.E: "AJAX ERROR: error POST /File/Controller/Method/Parameters".

 

Theses errors do not always occur to every customer, and often happen sporadically.

We have ruled out the possibility of firewall/timeouts due to other calls becoming success seconds before and after these calls.
What else could be the reason for these status code 0 ajax calls?
What is the most efficient way log an error stacktrace through these KendoGrid Ajax calls?
Or better how can we avoid status code 0?

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 11 Aug 2020, 01:44 PM

Hello Blake,

Prodiving a straight to the point suggestion would be difficult without knowing the APIs and specific setup. Could you please ensure that there are no try-catch block masking exceptions? Surely there must be a reason behind the erorring requests. If you can send us a small sample that illustrates this behavior we may be able to provide a precise answer.

Regards,
Angel Petrov
Progress Telerik

Tags
Grid
Asked by
Blake
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or