# Use of % in SMTP Password for discourse-setup

**URL:** <https://meta.discourse.org/t/use-of-in-smtp-password-for-discourse-setup/106434>\
**Category:** Bug\
**Created:** [13.Январь.2019 18:22:03 UTC](https://meta.discourse.org/t/use-of-in-smtp-password-for-discourse-setup/106434 "2019-01-13T18:22:03Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![LotusJeff](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lotusjeff/32/477888_2.png) [@LotusJeff](https://meta.discourse.org/u/LotusJeff)\
**Post date:** [13.Январь.2019 18:22:03 UTC](https://meta.discourse.org/t/use-of-in-smtp-password-for-discourse-setup/106434/1 "2019-01-13T18:22:03Z")

</div>

I used a % as a special character in my SMTP password. This caused a control character to be created in the app.yml file that caused the following errors

```
(): control characters are not allowed at line 1 column 1 -e LANG=en_US.UTF-8 
YAML syntax error. Please check your containers/*.yml config files. 

```

I tried rerunning discourse-setup and it kept failing.

Eventually the data field in the app.yml file looked like this:

`DISCOURSE_SMTP_PASSWORD: "74 DISCOURSE_SMTP_PASSWORD: "74% DISCOURSE_SMTP_PASSWORD: 74%DISCOURSE_SMTP_PASSWORD: 7e[3~e[3~e[3~e[3~e[3~74%DISCOURSE_SMTP_PASSWORD: pa$$word......"`

To resolve I had to manually edit the app.yml file to remove all the bad data and had to remove the % sign from my password. The setup than ran smoothly and allowed the setup of a new discourse install.

---

_[View the full topic](https://meta.discourse.org/t/use-of-in-smtp-password-for-discourse-setup/106434)._
