Invalid characters in environment variable
A common mistake that can lead to this error is defining environment variables as an array instead of key-value pairs. For example:
... provider: environment: - foo: abc - bar: xyz ...
Make sure the environment variables are defined in the YAML key-value pair format.
... provider: environment: foo: abc bar: xyz ...