# Suggestion: Add a helpful error message when app.yaml has syntax errors

**URL:** <https://meta.discourse.org/t/suggestion-add-a-helpful-error-message-when-app-yaml-has-syntax-errors/111738>\
**Category:** Feature\
**Created:** [March 15, 2019, 7:47pm UTC](https://meta.discourse.org/t/suggestion-add-a-helpful-error-message-when-app-yaml-has-syntax-errors/111738 "2019-03-15T19:47:44Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [March 15, 2019, 9:47pm UTC](https://meta.discourse.org/t/suggestion-add-a-helpful-error-message-when-app-yaml-has-syntax-errors/111738/4 "2019-03-15T21:47:23Z")

</div>

> [@Grimz](#):
>
> Could an error message be added that, at a minimum, indicated that the build tool failed to parse _app.yaml_ , or even better, indicate what the syntax or parsing error was (e.g. _“expected indentation on line 17 but found \<tab\>”_ , orsimilar)

We could try to validate the YAML using the `yamllint` package.

For example, if I try to add a plugin using tabs instead of spaces in the app.yml:

```plaintext
➜ yamllint -d "{extends: relaxed, rules: {line-length: {max: 9999999}}}" standalone.yml
standalone.yml

  92:1 error syntax error: found character '\t' that cannot start any token

```

Is that error above any better?

---

_[View the full topic](https://meta.discourse.org/t/suggestion-add-a-helpful-error-message-when-app-yaml-has-syntax-errors/111738)._
