fix resource checking and report on request errors