wrap_view should call Api._handle_server_error