# Getting 'Aggregate Error' in SSD terminal while running api app

**URL:** https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944
**Category:** Training, Academy & Certifications
**Tags:** neutrinos-ssd
**Created:** [July 16, 2025, 7:27am UTC](https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944 "2025-07-16T07:27:35Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Savkar](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/278dde/32.png) [@Savkar](https://community.neutrinos.com/u/Savkar)
#### Post date: [July 16, 2025, 7:27am UTC](https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944/1 "2025-07-16T07:27:35Z")

</div>

Hi Team,  
I’m trying to run my api services in the ssd, but getting following error:

 ![image](https://community.neutrinos.com/uploads/default/original/1X/16aa8beac7e794be6d920261f084f41207ad990e.png)

Can someone please help me with this?

Thanks,  
Savkar Mali

---

<div class="post-metadata">

### Author: ![Eldho](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/e/c6cbf5/32.png) [@Eldho](https://community.neutrinos.com/u/Eldho)
#### Post date: [July 16, 2025, 7:28am UTC](https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944/2 "2025-07-16T07:28:55Z")

</div>

@Sam @Shamnad_KS @Simphiwe please help

---

<div class="post-metadata">

### Author: ![Sam](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Sam](https://community.neutrinos.com/u/Sam)
#### Post date: [July 16, 2025, 7:29am UTC](https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944/3 "2025-07-16T07:29:00Z")

</div>

Hello @Savkar ,Could you please explain more about the issue for better understanding

---

<div class="post-metadata">

### Author: ![Savkar](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/278dde/32.png) [@Savkar](https://community.neutrinos.com/u/Savkar)
#### Post date: [July 16, 2025, 7:46am UTC](https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944/4 "2025-07-16T07:46:59Z")

</div>

Actually I had created some services and they were running before yesterday, But today when I opened SSD studio again & trying to run task, it’s not running on server, instead I’m getting an below error…

 ![image](https://community.neutrinos.com/uploads/default/original/1X/d1d72161b2d7dd95c9a1d745306ae6c9829bfbd2.png)

Even checked server logs , 👇

[SSD] 16-07-2025 12:34:36 e[32minfoe[39m: process.env.NODE\_APP\_INSTANCE  
[SSD] 16-07-2025 12:34:36 e[32minfoe[39m: process.env.pm\_id  
[SSD] 16-07-2025 12:34:36 e[32minfoe[39m: ERD relative path not found.  
[SSD] 16-07-2025 12:34:36 e[32minfoe[39m: ERD entities will be ignored.  
[SSD] 16-07-2025 12:34:36 e[31merrore[39m: AggregateError

---

<div class="post-metadata">

### Author: ![Sam](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Sam](https://community.neutrinos.com/u/Sam)
#### Post date: [July 16, 2025, 8:05am UTC](https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944/5 "2025-07-16T08:05:58Z")

</div>

Hello @Savkar ,  
Please try the following steps and check if it resolves the issue:

1. Restart your application.
2. Make sure MongoDB is running.
3. If it’s not running, start the MongoDB service.
4. Ensure that your MongoDB connection string is properly configured in your environment settings.

---

<div class="post-metadata">

### Author: ![Savkar](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/278dde/32.png) [@Savkar](https://community.neutrinos.com/u/Savkar)
#### Post date: [July 16, 2025, 9:18am UTC](https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944/6 "2025-07-16T09:18:40Z")

</div>

Hi @Sam, I have followed the steps which you have suggested, but still I’m getting same error.

meanwhile, I have created another ‘ **API Only App** ’ and did same configuration in that **I am able to run task on server & able to retrive data from mongodb.**

But in existing app I’m not able to proceed becouse error is coming. I don’t understand that same App was working before 2 days, not working today. 😟

---

<div class="post-metadata">

### Author: ![Sam](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Sam](https://community.neutrinos.com/u/Sam)
#### Post date: [July 16, 2025, 2:07pm UTC](https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944/7 "2025-07-16T14:07:03Z")

</div>

Could you please reconfigure the database using the new database name and the appropriate collections, and proceed with that setup? It’s possible that overlapping or conflicting configurations are causing the issue.

Alternatively, you can try exporting the current setup and importing it into a new project to check if the issue persists in a clean environment

---

<div class="post-metadata">

### Author: ![Eldho](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/e/c6cbf5/32.png) [@Eldho](https://community.neutrinos.com/u/Eldho)
#### Post date: [July 18, 2025, 8:17am UTC](https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944/8 "2025-07-18T08:17:55Z")

</div>

Hi @Savkar is this resolved ?

---

<div class="post-metadata">

### Author: ![Savkar](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/278dde/32.png) [@Savkar](https://community.neutrinos.com/u/Savkar)
#### Post date: [July 18, 2025, 10:52am UTC](https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944/9 "2025-07-18T10:52:18Z")

</div>

Hi @Sam, tried exporting the current setup and importing into a new project but while importing nos file into studio, importing not yet completed from long time, pfa

 ![image](https://community.neutrinos.com/uploads/default/original/1X/976ba0f37ce323fb8fad0394bae80751ef027a9f.png)

also, I have reconfigured the database using new database name & collection in the existing app, but still I’m getting same ‘Aggregate Error’ in the terminal console.

---

<div class="post-metadata">

### Author: ![Savkar](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/278dde/32.png) [@Savkar](https://community.neutrinos.com/u/Savkar)
#### Post date: [July 18, 2025, 10:54am UTC](https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944/10 "2025-07-18T10:54:22Z")

</div>

Hi @Eldho, that issue not yet resolved for existing app, able to proceed with newly created app.

---

<div class="post-metadata">

### Author: ![Sam](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Sam](https://community.neutrinos.com/u/Sam)
#### Post date: [July 18, 2025, 11:25am UTC](https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944/11 "2025-07-18T11:25:21Z")

</div>

Hello @Savkar ,Could you please share the repository link so that we can try to reproduce the issue from our end?  
You can share it in the chat

---

<div class="post-metadata">

### Author: ![Sam](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/5f9b8f/32.png) [@Sam](https://community.neutrinos.com/u/Sam)
#### Post date: [July 21, 2025, 10:09am UTC](https://community.neutrinos.com/t/getting-aggregate-error-in-ssd-terminal-while-running-api-app/944/14 "2025-07-21T10:09:08Z")

</div>

Hello @Savkar ,  
I checked your codebase and noticed that you had previously configured a PostgreSQL database. Even though it’s not currently in use, the configuration is still present.

If you want a fix, you can go to the **design-\> server’-\>`configNodes.json`** file and set the `disabledDb` option to `true`. This will allow the application to bypass the PostgreSQL setup and use your MongoDB database instead.

**Hope this helps resolve the issue**
