# Ember Data

**URL:** https://discuss.emberjs.com/c/ember-data/6.md

[Latest](https://discuss.emberjs.com/latest.md) · [Categories](https://discuss.emberjs.com/categories.md)

---

## [About the Ember Data category](https://discuss.emberjs.com/t/about-the-ember-data-category/16647)

<div class="topic-metadata">

**Author:** [@eviltrout](https://discuss.emberjs.com/u/eviltrout)\
**Replies:** 0

</div>

This category is for all things related to ember-data.

---

## [Ember-data - relationships not getting loaded](https://discuss.emberjs.com/t/ember-data-relationships-not-getting-loaded/21693)

<div class="topic-metadata">

**Author:** [@Saurabh\_Batra](https://discuss.emberjs.com/u/Saurabh_Batra)\
**Replies:** 2\
**Last updated:** [August 20, 2025, 8:29am UTC](https://discuss.emberjs.com/t/ember-data-relationships-not-getting-loaded/21693 "2025-08-20T08:29:34Z")

</div>

I’m encountering an issue with Ember Data (version 5.3.0) involving relationships not resolving as expected. My setup: TPE model has a belongsTo relationship with the network-construct (NC) model: js networkConstruct…

---

## [Ember - store.pushPayload - does not belong to this store instance](https://discuss.emberjs.com/t/ember-store-pushpayload-does-not-belong-to-this-store-instance/21661)

<div class="topic-metadata">

**Author:** [@Saurabh\_Batra](https://discuss.emberjs.com/u/Saurabh_Batra)\
**Replies:** 1\
**Last updated:** [June 28, 2025, 7:31am UTC](https://discuss.emberjs.com/t/ember-store-pushpayload-does-not-belong-to-this-store-instance/21661 "2025-06-28T07:31:30Z")

</div>

I have recently updated my ember project code from ember 3.16 to ember 5.12 (and ember-data to 5.3.0) The following piece of code worked fine in ember 3.16 (without even injecting the store service explicitly). // ====…

---

## [Dependency tree issue](https://discuss.emberjs.com/t/dependency-tree-issue/21573)

<div class="topic-metadata">

**Author:** [@rafik-ben1](https://discuss.emberjs.com/u/rafik-ben1)\
**Replies:** 5\
**Last updated:** [April 19, 2025, 7:24pm UTC](https://discuss.emberjs.com/t/dependency-tree-issue/21573 "2025-04-19T19:24:30Z")

</div>

Hi I hope everyone is doing great. I’ve been facing this issue that is driving me insane on my ember app the app is blank and I get this error on the console has-many-d45aa09e.js:759 Uncaught TypeError: Class extends va…

---

## [Auto Resolving the Promise showing Synchronous behavior with async true in Ember Version 4.8, but different in 5.8(showing actual async behavior)](https://discuss.emberjs.com/t/auto-resolving-the-promise-showing-synchronous-behavior-with-async-true-in-ember-version-4-8-but-different-in-5-8-showing-actual-async-behavior/21490)

<div class="topic-metadata">

**Author:** [@anishme](https://discuss.emberjs.com/u/anishme)\
**Replies:** 0\
**Last updated:** [March 7, 2025, 12:48pm UTC](https://discuss.emberjs.com/t/auto-resolving-the-promise-showing-synchronous-behavior-with-async-true-in-ember-version-4-8-but-different-in-5-8-showing-actual-async-behavior/21490 "2025-03-07T12:48:30Z")

</div>

This code behaves synchrounously. claim has appeals with relation async true. The data that comes in claim.appeals is list of Ids. There is no async await or THEN being used. This works fine in version 4.8, behaving …

---

## [Seeking guidance on modern Ember Data practices for a new project](https://discuss.emberjs.com/t/seeking-guidance-on-modern-ember-data-practices-for-a-new-project/21380)

<div class="topic-metadata">

**Author:** [@mario.gomez](https://discuss.emberjs.com/u/mario.gomez)\
**Replies:** 7\
**Last updated:** [November 26, 2024, 6:59pm UTC](https://discuss.emberjs.com/t/seeking-guidance-on-modern-ember-data-practices-for-a-new-project/21380 "2024-11-26T18:59:35Z")

</div>

Hi everyone! I’m starting a new project and want to ensure I adopt the latest best practices, especially around data handling. I’ve worked with classic Ember Data (e.g., belongsTo, hasMany, store.findRecord, etc.) in th…

---

## [Data tab in Ember Inspector Not working-Ember 5.8](https://discuss.emberjs.com/t/data-tab-in-ember-inspector-not-working-ember-5-8/20607)

<div class="topic-metadata">

**Author:** [@anishme](https://discuss.emberjs.com/u/anishme)\
**Replies:** 3\
**Last updated:** [October 17, 2024, 6:16pm UTC](https://discuss.emberjs.com/t/data-tab-in-ember-inspector-not-working-ember-5-8/20607 "2024-10-17T18:16:56Z")

</div>

On clicking the Data tab in Ember Inspector in Chrome Browser, it is throwing the warning error and not working as expected. Does anybody know its actual reason ? The warning is like this: Ember Inspector has error. Th…

---

## [Issue with Ember Store findRecord](https://discuss.emberjs.com/t/issue-with-ember-store-findrecord/20642)

<div class="topic-metadata">

**Author:** [@anishme](https://discuss.emberjs.com/u/anishme)\
**Replies:** 3\
**Last updated:** [September 27, 2024, 10:46pm UTC](https://discuss.emberjs.com/t/issue-with-ember-store-findrecord/20642 "2024-09-27T22:46:39Z")

</div>

I am trying to get the data using store as: this.store.findRecord(‘modelName’, id, { reload: true }).then(…lamda func), but getting error. This is in ember version 5.8 and my model is in older version before octane. Has …

---

## [Utilize a single adapter to multilple models](https://discuss.emberjs.com/t/utilize-a-single-adapter-to-multilple-models/20499)

<div class="topic-metadata">

**Author:** [@Soy\_Daisy](https://discuss.emberjs.com/u/Soy_Daisy)\
**Replies:** 1\
**Last updated:** [May 12, 2024, 6:43pm UTC](https://discuss.emberjs.com/t/utilize-a-single-adapter-to-multilple-models/20499 "2024-05-12T18:43:51Z")

</div>

I’m attempting to utilize a single adapter with multiple models. To achieve this, I’ve created an adapter that extends DS.JSONAPIAdapter . This adapter has its own namespace and has implemented Ember Data actions for que…

---

## [Ember-data configuration using RequestHandler](https://discuss.emberjs.com/t/ember-data-configuration-using-requesthandler/20397)

<div class="topic-metadata">

**Author:** [@malcolm-3](https://discuss.emberjs.com/u/malcolm-3)\
**Replies:** 1\
**Last updated:** [February 1, 2024, 1:06pm UTC](https://discuss.emberjs.com/t/ember-data-configuration-using-requesthandler/20397 "2024-02-01T13:06:45Z")

</div>

The Ember-data guides all refer to Adapters, but the documentation for the Adapters seems to indicate that they are deprecated in favor of the RequestManager and Handlers. Where can I find an example of configuring the …

---

## [CoalesceFindRequests doesn't work on Ember Data 5.3](https://discuss.emberjs.com/t/coalescefindrequests-doesnt-work-on-ember-data-5-3/20391)

<div class="topic-metadata">

**Author:** [@emberway](https://discuss.emberjs.com/u/emberway)\
**Replies:** 0\
**Last updated:** [January 19, 2024, 10:25pm UTC](https://discuss.emberjs.com/t/coalescefindrequests-doesnt-work-on-ember-data-5-3/20391 "2024-01-19T22:25:06Z")

</div>

In a development mode ember doesn’t group requests in one request with ids. I use RESTAdapter and define coalesceFindRequests = true; When I iterate toMany relationship with ids array, each model gets by one generates s…

---

## [Setting model as dirty when custom transform is updated](https://discuss.emberjs.com/t/setting-model-as-dirty-when-custom-transform-is-updated/20333)

<div class="topic-metadata">

**Author:** [@Szabo\_Bogdan](https://discuss.emberjs.com/u/Szabo_Bogdan)\
**Replies:** 2\
**Last updated:** [January 16, 2024, 1:34pm UTC](https://discuss.emberjs.com/t/setting-model-as-dirty-when-custom-transform-is-updated/20333 "2024-01-16T13:34:30Z")

</div>

Hi everyone, Is there a trick to set models as dirty when a custom transform property updates? Right now, I have an external flag in the controroller to remember if a property was changed, but it would be nice if I coul…

---

## [How to specify server in Ember 5 adapter?](https://discuss.emberjs.com/t/how-to-specify-server-in-ember-5-adapter/20378)

<div class="topic-metadata">

**Author:** [@hess8](https://discuss.emberjs.com/u/hess8)\
**Replies:** 3\
**Last updated:** [January 16, 2024, 12:19pm UTC](https://discuss.emberjs.com/t/how-to-specify-server-in-ember-5-adapter/20378 "2024-01-16T12:19:55Z")

</div>

Hi, in an Ember 3 app there is: import DS from 'ember-data'; import { computed } from '@ember/object'; export default DS.RESTAdapter.extend({ host: computed(function(){ return 'http://localhost:8000'; }), nam…

---

## [Creating a custom adapter method](https://discuss.emberjs.com/t/creating-a-custom-adapter-method/20371)

<div class="topic-metadata">

**Author:** [@Lukas\_Gaspar](https://discuss.emberjs.com/u/Lukas_Gaspar)\
**Replies:** 2\
**Last updated:** [January 12, 2024, 4:04am UTC](https://discuss.emberjs.com/t/creating-a-custom-adapter-method/20371 "2024-01-12T04:04:29Z")

</div>

What I want is to make a specific request to my backend and get back a list of models but it is not exactly a findAll/query call as i require an id (the url would be in the format v1/personType/{id}) so i need a separate…

---

## [AbortController errors after update](https://discuss.emberjs.com/t/abortcontroller-errors-after-update/20259)

<div class="topic-metadata">

**Author:** [@Szabo\_Bogdan](https://discuss.emberjs.com/u/Szabo_Bogdan)\
**Replies:** 4\
**Last updated:** [October 6, 2023, 3:10am UTC](https://discuss.emberjs.com/t/abortcontroller-errors-after-update/20259 "2023-10-06T03:10:46Z")

</div>

I just updated my dependencies and I started getting this error while rendering the app with fastboot: ReferenceError: AbortController is not defined Does anyone knows how to fix it? I checked my package folder from “d…

---

## [Ember drupal and api](https://discuss.emberjs.com/t/ember-drupal-and-api/20239)

<div class="topic-metadata">

**Author:** [@Ale](https://discuss.emberjs.com/u/Ale)\
**Replies:** 1\
**Last updated:** [September 22, 2023, 5:39pm UTC](https://discuss.emberjs.com/t/ember-drupal-and-api/20239 "2023-09-22T17:39:24Z")

</div>

How to mysql update for ember front end and drupal back end communicate with the api?

---

## [Ember Data Newbie - Very lost](https://discuss.emberjs.com/t/ember-data-newbie-very-lost/20227)

<div class="topic-metadata">

**Author:** [@vmckenzie](https://discuss.emberjs.com/u/vmckenzie)\
**Replies:** 3\
**Last updated:** [September 19, 2023, 12:30pm UTC](https://discuss.emberjs.com/t/ember-data-newbie-very-lost/20227 "2023-09-19T12:30:19Z")

</div>

Hello, I’m brand new to emberJS, and I’ve gotten my service to load the data from my API, but when I try to access the properties on the UserModel, everything returns undefined Here is the Data being loaded from my API…

---

## [Emberjs Services](https://discuss.emberjs.com/t/emberjs-services/20210)

<div class="topic-metadata">

**Author:** [@SHASHWAT\_SAHAY](https://discuss.emberjs.com/u/SHASHWAT_SAHAY)\
**Replies:** 1\
**Last updated:** [August 21, 2023, 6:47pm UTC](https://discuss.emberjs.com/t/emberjs-services/20210 "2023-08-21T18:47:27Z")

</div>

How to pass header as a parameter for an individual API in emberJS

---

## [Moving Ember data models into a js module](https://discuss.emberjs.com/t/moving-ember-data-models-into-a-js-module/20181)

<div class="topic-metadata">

**Author:** [@JamesWilmot](https://discuss.emberjs.com/u/JamesWilmot)\
**Replies:** 4\
**Last updated:** [August 18, 2023, 6:28am UTC](https://discuss.emberjs.com/t/moving-ember-data-models-into-a-js-module/20181 "2023-08-18T06:28:45Z")

</div>

Hi all, Just wondering if anyone has had experience moving ember data models into a module? The use case is that I’m trying to DRY-up codebase where a webapp and Ember addons all share the same models. Thanks for any h…

---

## [How to do error handling for rejected promise individually in PromiseManyArray](https://discuss.emberjs.com/t/how-to-do-error-handling-for-rejected-promise-individually-in-promisemanyarray/20182)

<div class="topic-metadata">

**Author:** [@prakashchoudhary](https://discuss.emberjs.com/u/prakashchoudhary)\
**Replies:** 1\
**Last updated:** [August 8, 2023, 11:47am UTC](https://discuss.emberjs.com/t/how-to-do-error-handling-for-rejected-promise-individually-in-promisemanyarray/20182 "2023-08-08T11:47:09Z")

</div>

Hello guys, I am trying to get comments data from posts, but having trouble getting the data So when I try to get the comments data, and if there is an invalid comment in the post, Promise is rejected (comments API ret…

---

## [Strange behavior with findAll and peekAll in emberjs 4.12](https://discuss.emberjs.com/t/strange-behavior-with-findall-and-peekall-in-emberjs-4-12/20138)

<div class="topic-metadata">

**Author:** [@boesi](https://discuss.emberjs.com/u/boesi)\
**Replies:** 6\
**Last updated:** [July 11, 2023, 9:15am UTC](https://discuss.emberjs.com/t/strange-behavior-with-findall-and-peekall-in-emberjs-4-12/20138 "2023-07-11T09:15:31Z")

</div>

Hi I am in the process of upgrading my app from emberjs 3.28 to 4.12. Besides all the deprecations, I have another problem that is not present with 4.11. Right after login I do the following in my index route: \[...\] @…

---

## [After update from Ember 3.26.x to 3.28.11 model.deleteRecord() method does not change model.hasDirtyAttributes](https://discuss.emberjs.com/t/after-update-from-ember-3-26-x-to-3-28-11-model-deleterecord-method-does-not-change-model-hasdirtyattributes/19881)

<div class="topic-metadata">

**Author:** [@Enterpub](https://discuss.emberjs.com/u/Enterpub)\
**Replies:** 4\
**Last updated:** [July 10, 2023, 1:30pm UTC](https://discuss.emberjs.com/t/after-update-from-ember-3-26-x-to-3-28-11-model-deleterecord-method-does-not-change-model-hasdirtyattributes/19881 "2023-07-10T13:30:06Z")

</div>

We want to update our application till the latest 4.x version, but first need to update to latest 3.x version and fix all deprecations. After update Ember from 3.26.x to 3.28.11 and Ember-Data from 3.26.x to 3.28.12, th…

---

## [Understanding the new Request Manager & Handler in Ember 4.12](https://discuss.emberjs.com/t/understanding-the-new-request-manager-handler-in-ember-4-12/20107)

<div class="topic-metadata">

**Author:** [@syedkhairi](https://discuss.emberjs.com/u/syedkhairi)\
**Replies:** 1\
**Last updated:** [July 10, 2023, 6:16am UTC](https://discuss.emberjs.com/t/understanding-the-new-request-manager-handler-in-ember-4-12/20107 "2023-07-10T06:16:36Z")

</div>

I’m struggling to understand as how my previous implementation (adapters & serializers) able to adopt the new Request Manager, Store & Handlers as in 4.12. By the looks of it, this is also how Ember planning to carry for…

---

## [Merge multiple record partial data into unique model](https://discuss.emberjs.com/t/merge-multiple-record-partial-data-into-unique-model/19925)

<div class="topic-metadata">

**Author:** [@grunk](https://discuss.emberjs.com/u/grunk)\
**Replies:** 4\
**Last updated:** [July 9, 2023, 5:37am UTC](https://discuss.emberjs.com/t/merge-multiple-record-partial-data-into-unique-model/19925 "2023-07-09T05:37:33Z")

</div>

Hi, I’m querying multiple endpoints which each are returning part of a model.'s data : model: function() { const id = this.paramsFor('users.user').id; const promises = { a: this.get('store').queryRecord('mymodel'…

---

## [Defining common api namespace for set of models](https://discuss.emberjs.com/t/defining-common-api-namespace-for-set-of-models/20012)

<div class="topic-metadata">

**Author:** [@santhoshit8](https://discuss.emberjs.com/u/santhoshit8)\
**Replies:** 3\
**Last updated:** [July 9, 2023, 5:35am UTC](https://discuss.emberjs.com/t/defining-common-api-namespace-for-set-of-models/20012 "2023-07-09T05:35:14Z")

</div>

Hi All, Currently for all models, I defined namespace in application adaptor. Now i am adding new models which require new namespace. I need both namespace in single application. One way is adding adaptor for each mod…

---

## [Modify API response based on API request before passing it to ember data](https://discuss.emberjs.com/t/modify-api-response-based-on-api-request-before-passing-it-to-ember-data/19998)

<div class="topic-metadata">

**Author:** [@niltz](https://discuss.emberjs.com/u/niltz)\
**Replies:** 7\
**Last updated:** [July 9, 2023, 5:33am UTC](https://discuss.emberjs.com/t/modify-api-response-based-on-api-request-before-passing-it-to-ember-data/19998 "2023-07-09T05:33:50Z")

</div>

Hello folks. I need to modify api response data based on the api request input parameters. How do I do this? The serializer doesn’t seem to have access to the original request data. For instance, say I have an api endpo…

---

## [Question about the current state of Ember Data in non-Ember frameworks](https://discuss.emberjs.com/t/question-about-the-current-state-of-ember-data-in-non-ember-frameworks/20128)

<div class="topic-metadata">

**Author:** [@lougreenwood](https://discuss.emberjs.com/u/lougreenwood)\
**Replies:** 1\
**Last updated:** [July 8, 2023, 6:43pm UTC](https://discuss.emberjs.com/t/question-about-the-current-state-of-ember-data-in-non-ember-frameworks/20128 "2023-07-08T18:43:55Z")

</div>

Hello :wave:, I asked a version of the question in Discord, but it didn’t get any traction, so I wanted to ask it here instead. :wave: I’m quite out of the loop WRT Ember Data, but I have a few questions …

---

## [Attribute is missing in ember data update request](https://discuss.emberjs.com/t/attribute-is-missing-in-ember-data-update-request/20127)

<div class="topic-metadata">

**Author:** [@santhoshit8](https://discuss.emberjs.com/u/santhoshit8)\
**Replies:** 1\
**Last updated:** [June 28, 2023, 3:07pm UTC](https://discuss.emberjs.com/t/attribute-is-missing-in-ember-data-update-request/20127 "2023-06-28T15:07:00Z")

</div>

I have toogle button on template. On clicking toogle button, it make ember data update request. By toggling toggle button very quickly for n times (let say 40), on n+1 th request ember data fails to send attribute(using…

---

## [Console error randomUUID is not a function](https://discuss.emberjs.com/t/console-error-randomuuid-is-not-a-function/20092)

<div class="topic-metadata">

**Author:** [@herrnesto](https://discuss.emberjs.com/u/herrnesto)\
**Replies:** 2\
**Last updated:** [June 20, 2023, 12:17pm UTC](https://discuss.emberjs.com/t/console-error-randomuuid-is-not-a-function/20092 "2023-06-20T12:17:52Z")

</div>

Hello all When I try to create a new record with ember data, i face the following issue: -private.js:129 Uncaught TypeError: \_crypto.randomUUID is not a function at uuidv4 (-private.js:129:1) at IdentifierCache.…

---

## [Computed properties on async hasMany relationships](https://discuss.emberjs.com/t/computed-properties-on-async-hasmany-relationships/19469)

<div class="topic-metadata">

**Author:** [@harrysundown](https://discuss.emberjs.com/u/harrysundown)\
**Replies:** 8\
**Last updated:** [April 18, 2023, 12:44am UTC](https://discuss.emberjs.com/t/computed-properties-on-async-hasmany-relationships/19469 "2023-04-18T00:44:54Z")

</div>

As mentioned in another thread, I’ve been dealing with a host of issues after a huge upgrade from Ember 2.x to 3.28 (LTS). The biggest one remains, which is that we have hundreds of computed properties based on async ha…

[Next page](https://discuss.emberjs.com/c/ember-data/6.md?page=1)
