It always calls the error function with status 200. Since it is a JSONP request, jQuery appends callback? to the end of the URL and the callback method was never called, even after getting the valid response. I have a jquery ajax callBut, what I noticed is that my error callback is fired every time, even when my call returns success status 200. JQuery ajax call executes error on 200 In the client I do an ajax call using jquery 2.0.3.and I want to use jquery ajax in a test page, the code looks like this: JQuery AJAX, Error Status code: jQuery Ajax Request 200 but status error. I use jQuery.ajax() request to my server and get xml response. for some reasons some users get the error. status code is 200 but we proceed to the error handler :-( at the moment I can not find any consistent pattern. Ask Question. jQuery status 200 ok error. 1. jQuery .ajax call for cross domain with JSONP, The data sections of messages Error, Forward and redirection responses may be used to contain human-readable. When youre using Ajax requests with success or error event handling, you could do this.Use jQuery to get Disqus comment count. Check if ip is private. Build your own mysql utility.
The status property contains the HTTP status code (e.g. 200 or 404 etc.) sent back by the web server. The statusText property contains the text success or error depending on whether the AJAX request succeeded or failed.Here is a jQuery AJAX error handling example Im getting xhr.