Cover error case in request