AJAX Error: error POST - Status Code 0

2 posts, 0 answers
  1. Blake
    Blake avatar
    1 posts
    Member since:
    Aug 2020

    Posted 09 Aug 2020 Link to this post

    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.

  2. Angel Petrov
    Angel Petrov avatar
    1153 posts

    Posted 11 Aug 2020 Link to this post

    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.

    Angel Petrov
    Progress Telerik

Back to Top