Topic: Error with Data Fetch - Invalid array length

The express generator has a Darwinx.json. The json only has currencies and commodities. How do I upgrade it to add the crypto for Darwinx-Live as they have ADAUSD, BNBUSD, BTCUSD, DOGEUSD, ETHUSD, SOLUSD, XRPUSD. I tried adding them nanually inside the darwinx.json but when I run download data I get this error

C:\express-generator>node  ./bin/fetch.js  --fx-rates true  --symbols ADAUSD BNBUSD BTCUSD DOGEUSD ETHUSD SQLUSD XLMUSD XRPUSD   --periods M1 M5 M15 M30 H1 H4 D1  --max-bars 200000  --time-zone 0

         ..:: Express Generator Fetch v2.66 ::..

RangeError: Invalid array length
    at parseData (C:\express-generator\bin\lib\data-manager.js:156:42)
    at C:\express-generator\bin\fetch.js:224:28
    at IncomingMessage.<anonymous> (C:\express-generator\bin\lib\request.js:94:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

C:\express-generator>pause
Press any key to continue . . .

Re: Error with Data Fetch - Invalid array length

Hello Tobeawinner,

Thank you for your report.

I tested the exact command, and it works fine. It must be a network or other temporary issue.

Please note that Express Generator can fetch only the symbols we provide.

See my screenshot:

https://image-holder.forexsb.com/store/exgen-fetch-many-symbols-thumb.png

If you continue to experience this issue, please report it again. I'll take a deeper look.