even if I change the dataType to 'text', still the error event fires. I checked response data on jsonlint.com and it is valid json. Also status code is 200.
$.ajax({
    type:'GET',
    url:"https://api.flickr.com/services/feeds/photos_public.gne?id=29080075@N02&lang=en-us&format=json&nojsoncallback=1",
    data:"",
    success: function() {         
    alert("success");
    },
    error: function()
    {
     alert("error");
      },
     dataType:'json'
  });
