# exceptionName="RangeError" exceptionMessage="Maximum call stack size exceeded"

**URL:** <https://forum.genieacs.com/t/exceptionname-rangeerror-exceptionmessage-maximum-call-stack-size-exceeded/3094>\
**Category:** Uncategorized\
**Created:** [October 18, 2022, 11:35am UTC](https://forum.genieacs.com/t/exceptionname-rangeerror-exceptionmessage-maximum-call-stack-size-exceeded/3094 "2022-10-18T11:35:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![starking8b](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/starking8b/32/879_2.png) [@starking8b](https://forum.genieacs.com/u/starking8b)\
**Post date:** [October 18, 2022, 11:35am UTC](https://forum.genieacs.com/t/exceptionname-rangeerror-exceptionmessage-maximum-call-stack-size-exceeded/3094/1 "2022-10-18T11:35:54Z")

</div>

hello, for soem device I get error 500  
so when I apply this command for debugging

> journalctl -u genieacs-ui.service -f

I get this error

```auto
oct 18 17:02:05 acs genieacs-nbi[454]: 2022-10-18T11:32:05.530Z [ERROR] Uncaught exception; pid=26160 exceptionName="RangeError" exceptionMessage="Maximum call stack size exceeded" exceptionStack="RangeError: Maximum call stack size exceeded\n at e (/usr/lib/node_modules/genieacs/bin/genieacs-nbi:1:1)\n at e (/usr/lib/node_modules/genieacs/bin/genieacs-nbi:2:28817)\n -> /usr/lib/node_modules/lib/mongodb-functions.ts:464:9\n at e (/usr/lib/node_modules/genieacs/bin/genieacs-nbi:2:28817)\n -> /usr/lib/node_modules/lib/mongodb-functions.ts:464:9\n at e (/usr/lib/node_modules/genieacs/bin/genieacs-nbi:2:28817)\n -> /usr/lib/node_modules/lib/mongodb-functions.ts:464:9\n at e (/usr/lib/node_modules/genieacs/bin/genieacs-nbi:2:28817)\n -> /usr/lib/node_modules/lib/mongodb-functions.ts:464:9\n at e (/usr/lib/node_modules/genieacs/bin/genieacs-nbi:2:28817)\n -> /usr/lib/node_modules/lib/mongodb-functions.ts:464:9\n at e (/usr/lib/node_modules/genieacs/bin/genieacs-nbi:2:28817)\n -> /usr/lib/node_modules/lib/mongodb-functions.ts:464:9\n at e (/usr/lib/node_modules/genieacs/bin/genieacs-nbi:2:28817)\n -> /usr/lib/node_modules/lib/mongodb-functions.ts:464:9\n at e (/usr/lib/node_modules/genieacs/bin/genieacs-nbi:2:28817)\n -> /usr/lib/node_modules/lib/mongodb-functions.ts:464:9\n at e (/usr/lib/node_modules/genieacs/bin/genieacs-nbi:2:28817)\n -> /usr/lib/node_modules/lib/mongodb-functions.ts:464:9"
Oct 18 17:02:05 acs genieacs-nbi[454]: 2022-10-18T11:32:05.857Z [ERROR] Worker died; pid=26160 exitCode=0
Oct 18 17:02:06 acs genieacs-nbi[454]: 2022-10-18T11:32:06.269Z [INFO] Worker listening; pid=26299 address="::" port=7557
Oct 18 17:02:08 acs genieacs-nbi[454]: 2022-10-18T11:32:08.452Z [INFO] Worker listening; pid=26309 address="::" port=7557

```

I am not able to refresh or push any datamodel to those devices, can any one help me please

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [October 18, 2022, 4:47pm UTC](https://forum.genieacs.com/t/exceptionname-rangeerror-exceptionmessage-maximum-call-stack-size-exceeded/3094/2 "2022-10-18T16:47:44Z")

</div>

You probably need to provide more information… Like what version of GenieACS you are using. What the device is thats causing you issues. What provision scripts are enabled. What trouble shooting steps you have tried, etc

---

<div class="post-metadata">

**Author:** ![starking8b](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/starking8b/32/879_2.png) [@starking8b](https://forum.genieacs.com/u/starking8b)\
**Post date:** [October 19, 2022, 6:23am UTC](https://forum.genieacs.com/t/exceptionname-rangeerror-exceptionmessage-maximum-call-stack-size-exceeded/3094/3 "2022-10-19T06:23:23Z")

</div>

version : v1.2.9+20220822165235  
there are some devices causing the problem when I am trying to search about them the system getting freezing, today I found that the database has been reset by itself and genieacs redirected me to the wizard page.  
Actually, I did not do any troubleshooting as I am not able to get more details about the error.

---

<div class="post-metadata">

**Author:** ![starking8b](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/starking8b/32/879_2.png) [@starking8b](https://forum.genieacs.com/u/starking8b)\
**Post date:** [October 20, 2022, 6:32am UTC](https://forum.genieacs.com/t/exceptionname-rangeerror-exceptionmessage-maximum-call-stack-size-exceeded/3094/4 "2022-10-20T06:32:21Z")

</div>

any help please, the database is getting reset every day, what is the problem?
