Common Errors

0

How to fix “statusCode 401” error on Gunbot

Do you get "statusCode 401" error message when running Gunbot? The complete message is something like this: Loading data.... undefined statusCode 401 "statusCode 401" Error: statusCode 401 at errorHandler (C:\snapshot\enricoranucci\Desktop\STABLE\ctx\js\poloniex.js) at processTicksAndRejections (internal/process/task_queues.js:97:5) Error: {} at errorHandler (C:\snapshot\enricoranucci\Desktop\STABLE\ctx-wrapper.js) at processTicksAndRejections (internal/process/task_queues.js:97:5) Unable to connect to poloniex Please if this error persists, stop Gunbot, wait a few minutes and then start it again... If this is your case, no worries, the[...]
0

How to fix “Request timed out (10000 ms)” error on Gunbot

Are you getting an error like the following one when running Gunbot? the following exception { RequestTimeout: binance GET https://api.binance.com/api/v3/ticker/24hr request timed out (10000 ms) at module.exports.initRestRateLimiter.executeRestRequest.timeout.catch (/snapshot/test/Desktop/dsg/node_modules/ ccxt.pro/node_modules/ccxt/js/base/Exchange.js:397:27) at <anonymous> constructor: [Function: RequestTimeout], name: 'RequestTimeout' } 'Unhandled Rejection at Promise' Promise { <rejected> { RequestTimeout: binance GET https://api.binance.com/api/v3/ticker/24hr request timed out (10000 ms) at module.exports.initRestRateLimiter.executeRestRequest.timeout.catch (/snapshot/test/Desktop/dsg/node_modules/ ccxt.pro/node_modules/ccxt/js/base/Exchange.js:397:27) at <anonymous> constructor: [Function: RequestTimeout], name: 'RequestTimeout' } } This error happens[...]
0

Fix Cannot read property ‘1’ of undefined error on Gunbot

Are you getting "TypeError: Cannot read property '1' of undefined" message when running Gunbot? If the answer is "yes", don't panic as most of the times this message doesn't affect Gunbot at all, and the bot will work 100% fine. Note that in the case you are running the bot on a Raspberry the message will be "-1" instead of "1", that is: "TypeError: Cannot read property '-1' of undefined"[...]
0

Fix for Cannot read property ‘totalMarginBalance’ of undefined

If you are getting the error: TypeError: Cannot read property 'totalMarginBalance' of undefined when running Gunbot, today is your lucky day as we are going to explains the way to fix it. There are several things that can do the job, and we will start trying with step 1. In the case an step doesn't fix it, proceed with next step: 1- Stop the bot. Edit config.js file with any[...]
1

Fix “Cannot read property ‘BUY_METHOD’ of undefined” error

Are you getting the message: TypeError: Cannot read property 'BUY_METHOD' of undefined when running Gunbot? Ok, don't panic. Most of the times this errors is caused because you changed the name of a trading strategy that was already been used. In order to fix it, follow these simple steps: 1- Stop the bot. 2- Re-assign the new named strategy to the pairs your want to trade with. 3- Restart the[...]
0

Fix EVP_DecryptFinal_ex:wrong final block length on Gunbot

Are you getting an error like this one when running Gunbot? Error: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length at Decipher.final (internal/crypto/cipher.js:104:26) at Object.decrypt (/snapshot/dsgbuild/helper.js:0:0) at new c9w (/snapshot/dsgbuild/ctx-wrapper.js:0:0) at M7A.(anonymous function).memory.(anonymous function).(anonymous function).(anonymous function).H7A (/snapshot/dsgbuild/bot.gunbot.js:0:0) at module.(anonymous function).Market.returnTradeHistory.Promise.(anonymous function).X3w.(anonymous function).(anonymous function).r3w (/snapshot/dsgbuild/ctx-wrapper.js:0:0) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) Error: {} at errorHandler (/snapshot/dsgbuild/ctx-wrapper.js:0:0) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) Unable to connect to binance Please if this error persists, stop Gunbot, wait […]

0

Fix “Cannot read property ‘masterkey’ of undefined” error on Gunbot

“Cannot read property ‘masterkey’ of undefined”  is a common error we can get when running Gunbot, but, what does it mean? How to fix it? This error appears when you haven’t set Api key and secret fields. Maybe for some reason the exchange details were not saved or weren’t entered properly. Be sure to fill those fields. Also, in the case your Gunbot version doesn’t run an encrypted config.js file, […]

0

Fix TICK_INTERVAL_NOT_PROVIDED error on Gunbot

Are you getting an error looking like this when running Gunbot? 2020/06/19 09:02:48: Kicking bittrex, receiving new tickers… { ExchangeError: bittrex {“success”:false,”message”:”TICK_INTERVAL_NOT_PROVIDED“,”result”:null,”explanation”:null} at bittrex.handleErrors (/snapshot/v18build/node_modules/ccxt.pro/node_modules/ccxt/js/bittrex.js:1431:23) at module.exports.handleRestResponse.response.text.then (/snapshot/v18build/node_modules/ccxt.pro/node_modules/ccxt/js/base/Exchange.js:618:18) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) constructor: [Function: ExchangeError], name: ‘ExchangeError’ } Error: Fetching OHLCV again.{“name”:”ExchangeError”} at errorHandler (/snapshot/v18build/ctx/js/bittrex.js:0:0) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) Error: {} at errorHandler (/snapshot/v18build/ctx-wrapper.js:0:0) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) (Code 15902)Requesting data…please wait… Today is your lucky day, […]

Contact us