Launch implementation: RangeError: Maximum call stack size exceeded | Community
Skip to main content
Sebastiane_Edberg_
New Participant
April 3, 2020
Solved

Launch implementation: RangeError: Maximum call stack size exceeded

  • April 3, 2020
  • 2 replies
  • 4492 views

Hi, have run into a problem with our launch implementation without being able to pinpoint the source of this error, maybe someone has any input here:

It starts of with this error: RangeError: Maximum call stack size exceeded

And then 10000 lines of this:

at u (VM35 launch-88-development.min.js:formatted:2902)
at d.x.fetchPermissions (VM35 launch-88-development.min.js:formatted:1403)
at Ne.m.init (VM35 launch-88-development.min.js:formatted:3781)


the particular lines of code it points to are:

return f.optIn.fetchPermissions(u, !0);

 

And:

 

return !i || i && x.isComplete || c ? e(x.permissions) : a || j.add(Ie, function() {
return e(x.permissions)

 

after going through this cycle once the error seems to go away, so i assume it is trying to do something on something that is not yet available to fetch the value of, any suggestion on what to try here? All help greatly appreciated 🙂

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sebastiane_Edberg_

Hi, for anyone running into a similar error, this was actually caused by the fact that Adobe Target was running an old version of at.js (1.8.0), causing the analytics call to be disrupted by a slow Target request, an update of at.js to 2.3.0 solved this. 

2 replies

Sebastiane_Edberg_
Sebastiane_Edberg_AuthorAccepted solution
New Participant
April 8, 2020

Hi, for anyone running into a similar error, this was actually caused by the fact that Adobe Target was running an old version of at.js (1.8.0), causing the analytics call to be disrupted by a slow Target request, an update of at.js to 2.3.0 solved this. 

Andrey_Osadchuk
New Participant
April 5, 2020

I presume you added a custom JS code with a function that calls itself that makes an infinite loop. Review the code.