Both error messages look the same: instead of exporting the variable, you are exporting its content.
In Unix (and most other operating systems), environment variables are names programs use to refer some text. So when you specify the name DOG to stand for Spot, all the programs know that your...