# Reflexive relashiption jsonapi

**URL:** <https://discuss.emberjs.com/t/reflexive-relashiption-jsonapi/9922>\
**Category:** Ember Data\
**Created:** [February 25, 2016, 6:16am UTC](https://discuss.emberjs.com/t/reflexive-relashiption-jsonapi/9922 "2016-02-25T06:16:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phatle](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/phatle/32/11022_2.png) [@phatle](https://discuss.emberjs.com/u/phatle)\
**Post date:** [February 25, 2016, 6:16am UTC](https://discuss.emberjs.com/t/reflexive-relashiption-jsonapi/9922/1 "2016-02-25T06:16:26Z")

</div>

Hi, I have a jsonapi:

 ![](https://us1.discourse-cdn.com/flex019/uploads/emberjs_public/original/2X/4/49dc97d20e454037c4a21a131ea69ad48bfbbc70.png)In my member model: ![](https://us1.discourse-cdn.com/flex019/uploads/emberjs_public/original/2X/7/7f0c4a12da2d585d716caebd0bd59652237e47a3.png)it’s reflexive relationship I expect that the direct\_reporting\_employees is mapping to directReportingEmployees but I got: Uncaught TypeError: Cannot read property ‘\_relationships’ of undefined it means in var relationship = this.\_internalModel.\_relationships.get(key); the this.\_internalModel is undefined anyone has experience with this problem? I did search but nothing work Thanks
