If your API returns validation errors with 422, similarly:
{"errors":{"email":["can't be blank"]}}
then the easiest way to tell the user that something has not been confirmed properly is to place an error message next to the corresponding control in your template:
{{view Ember.TextField id="email" placeholder="Email" valueBinding="email"}}<span class="alert-error">{{errors.email}}</span>
If you want to skip errors and possibly show them to the user in a different way (I like notifications similar to growls in addition to the built-in messages), you can also capture them from object errors in the model in wasInvalid . Errors are also passed to wasInvalid if you want to capture them.
source share