Try this:

$ argocd app set $APPNAME --allow-empty