return error when cannot join the cluster