fail when client is initialised without valid parameters