test error on request object