RangeError: Maximum call stack size exceeded in case of complex nested models
See original GitHub issueWhat version of the library are you using? Is it the latest version? The latest released version is 2.9.0
Bug report In case of big request json spec, I get following in console after trying to expand the operation in swagger-ui and the section of operation shows endless spinner. After refreshing we see the operation details. If request model is not big but only response response is big, it works fine so I am inferring that it might be related to the size of request model or the combined size, not sure.
system.js:461 RangeError: Maximum call stack size exceeded
at immutable.js:2405
at Le.pe.withMutations (immutable.js:1353)
at He (immutable.js:2405)
at Le.set (immutable.js:2096)
at nt (immutable.js:2780)
at Ze.set (immutable.js:2686)
at immutable.js:2651
at immutable.js:3016
at immutable.js:2699
at Le.__iterate (immutable.js:2206)
Thanks a lot.
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
JavaScript RangeError: Maximum Call Stack Size Exceeded
JavaScript RangeError: Maximum Call Stack Exceeded is thrown when there are too many function calls, or if a function is missing a base...
Read more >How to fix: "RangeError: Maximum call stack size exceeded"
A "RangeError: Maximum call stack size exceeded" is an error that occurs when a function or operation tries to execute too many nested...
Read more >"RangeError: Maximum call stack size exceeded" in During ...
I am guessing the issue has nothing to do with the size or complexity of the JSON, and this issue is due to...
Read more >JavaScript Error: Maximum Call Stack Size Exceeded
This error is a RangeError. A RangeError typically means an error has occurred outside of a code's argument value for its parameter. Now...
Read more >Maximum call stack size exceeded" when adding new ...
the naming is bad in this exemple because you are using post as you mongoose document mongoose.model('Post', PostSchema) model, i think (better ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yea… will do that. will have to scramble some data. tomorrow! bit late here now.
i am using 4.01 version for asp.net core
this is the error i am getting system.js:464 RangeError: Maximum call stack size exceeded at kt (immutable.js:2494) at immutable.js:2408 at pt.Ue.withMutations (immutable.js:1353) at immutable.js:2405 at pt.set (immutable.js:2096) at jt (immutable.js:2780) at Pt.set (immutable.js:2686) at immutable.js:2651 at immutable.js:3016 at immutable.js:2699
This issue is still exist, please provide solution Thannks in Advance