Add request error mocking