ArgoCD create app example with --values and --values-literal-file option

Trying argocd create app with --values and --values-literal-file option via cli, but it’s throwing 502 error. Any suggestions or examples of passing this files as arguments ?

You can pass individual key-value pairs as arguments to the --values option in the following format:

–values key1=value1 --values key2=value2