$.ajax({
  
    error: function(xhr, status, error) {
        console.log("Hata:", error);
    }
});
yapıp sonucu paylaşır mısınız ?