XHR request is denoted as being cancelled although it seems to be successful [closed] XHR request is denoted as being cancelled although it seems to be successful [closed] ajax ajax

XHR request is denoted as being cancelled although it seems to be successful [closed]


it may happen when Chrome sees that the actual data doesn’t match the headers.

If you return your answer with header type added, it shouldnt say canceled (Content-type: text/plain. for example)

You can check them by looking Event tabs - response headers.