instrument on APIError

still count them as failure