Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

Range Error: Invalid Array Length

Ravi Kumar asked on October 14, 2020

I’m trying to set a proper data source but still, flexmonster returning with an error “ERROR RangeError: Invalid array length”.
Full Error:
ERROR RangeError: Invalid array length
at b.TH (flexmonster.full.js:1024)
at b.j6 (flexmonster.full.js:1021)
at b.i6 (flexmonster.full.js:1086)
at b.load (flexmonster.full.js:1081)
at h.connect (flexmonster.full.js:2137)
at a.uwa (flexmonster.full.js:2109)
at a.YE (flexmonster.full.js:2107)
at a.Xaa (flexmonster.full.js:2107)
at a.naa (flexmonster.full.js:2107)
at f.Ne (flexmonster.full.js:2106)
Please provide any solution to overcome this issue.
Sharing you the flexmonster.full.js file.

3 answers

Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 14, 2020

Thank you for reaching out to us.
Our team wants to inform you that we did not manage to reproduce the issue.
Please provide us with a data set (dummy data can be used), which loading leads to the exception. It would allow us to investigate the issue on our side.
Our team is looking forward to hearing from you.
Kind regards,

Ravi Kumar 6 days ago

Hi Illia,
Thanks for the quick response.
Please find the below dummy data to reproduce the scenario in your end.
“currency_Desc”:”Indian rupee”,

Illia Yatsyshyn Illia Yatsyshyn Flexmonster 6 days ago

Hello, Ravi,
Thank you for providing the data set.
This helped to reproduce the issue on our side.
It seems the exception is caused by the specific field name used in the data set: "length".
The fix is going to be provided with a minor update ETA Nov 16.
Our team will notify you as soon as the version with a fix is released.
As a temporary workaround, we suggest renaming the "length" field in your data set.
Feel free to reach out in case any other questions arise.
Kind regards,

Please login or Register to Submit Answer