# Getting Ember to work with Sails.js not returning a valid JSON api document

**URL:** <https://discuss.emberjs.com/t/getting-ember-to-work-with-sails-js-not-returning-a-valid-json-api-document/11479>\
**Category:** Uncategorized\
**Created:** [August 27, 2016, 5:05pm UTC](https://discuss.emberjs.com/t/getting-ember-to-work-with-sails-js-not-returning-a-valid-json-api-document/11479 "2016-08-27T17:05:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MattsLab](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/mattslab/32/12453_2.png) [@MattsLab](https://discuss.emberjs.com/u/MattsLab)\
**Post date:** [August 27, 2016, 5:05pm UTC](https://discuss.emberjs.com/t/getting-ember-to-work-with-sails-js-not-returning-a-valid-json-api-document/11479/1 "2016-08-27T17:05:53Z")

</div>

Hello there!

I’m new to the Ember and Sails scene and I’m running into the issue where Sails.js isn’t returning a valid JSON api document. I figured that some of you might have ran into this problem and know a solution or point me in the right direction of getting everything to pair together nicely.

---

<div class="post-metadata">

**Author:** ![acorncom](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/acorncom/32/12198_2.png) [@acorncom](https://discuss.emberjs.com/u/acorncom)\
**Post date:** [August 30, 2016, 11:50pm UTC](https://discuss.emberjs.com/t/getting-ember-to-work-with-sails-js-not-returning-a-valid-json-api-document/11479/2 "2016-08-30T23:50:52Z")

</div>

If you are just getting started with Sails, I’d suggest steering clear of it. More details here: [Which back end framework for node.js fits well with the Ember way: Express, Hapi, or Sails? - #5 by acorncom](http://discuss.emberjs.com/t/which-back-end-framework-for-node-js-fits-well-with-the-ember-way-express-hapi-or-sails/11471/5)
