Trying to call an API that is returning me JSON. I am getting the following error
Error while processing route: treatment Assertion Failed: normalizeResponse must return a valid JSON API document:
* One or more of the following keys must be present: "data", "errors", "meta". Error: Assertion Failed: normalizeResponse must return a valid JSON API document:
* One or more of the following keys must be present: "data", "errors", "meta".
Is there a way in Ember to get around this or do I need to have the API team change the way the JSON response is coming back? Thanks
That’s weird. We’re using the latest Ember and Ember Data in a project using REST without any trouble, and those error’s clearly point to the JSON not being conform JSON API.