I got the following error when trying to launch a command which parameters had an exclamation mark (!) surrounded quotes ("):
In Bash, a single quote (') is referred to as a strong quote, and a double quote (") is referred to as a weak quote. Special characters aren't interpreted in a strong quote. That is why I got the error.
When I replaced double quotes (") with single quotes (') I was able to execute the command successfully.