Common Errors

0

How to fix the error “API: Invalid signature”

Are you getting the error “API: Invalid signature” when running Gunbot? Ok, don’t panic. This error means that you didn’t put the right secret for your api key. Double check you added your secret properly (no blank spaces, no missing characters etc…). Never type your api or secret manually, just copy and paste them. In the case you can’t access the GUI, you can change the secret by editing manually […]

1

Fix “Unexpected token < in JSON at position 0" error

Are you getting the following error when running Gunbot?: SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) Don’t worry, it’s easy to fix. In most of the case this error message is caused by a temporal ban of Bitmex or other exchanges. Why did I get banned? Because you made too many api requests per second. In order to fix it, follow these easy steps: 1 […]

0

Fix error: The API key you provided is not from your BINANCE account

Are you getting the following message when running Gunbot? ERROR: The API key you provided is not from your BINANCE account!!! Please use an API key from the same account of your MasterKey! It usually means that your trading api doesn’t belong to the same account than your master api. If you don’t know the difference between a trading api key and a master api key, click here. Ok, so… […]

2

Fix for “Signature for this request is not valid” error on Gunbot

Are you getting the following message when running Gunbot? The message that the bot gives me is: Loading exchange – binance Loading data …. {Error: binance {“code”: – 1022, “msg”: “Signature for this request is not valid.”} This is a very easy to fix error, it’s caused because you didn’t set the right secret for your api. Most of the times it’s caused by an extra / missing character, a […]

0

Fix for TypeError: Cannot read property ‘toString’ of undefined

Are you getting this error when running Gunbot? TypeError: Cannot read property ‘toString’ of undefined at module.exports.Market.sell.Promise.checkSecurity.then.resp (/snapshot/gblackv12/ctx-wrapper.js:0:0) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) Most of the times it’s caused by MULTIPLE_BASE parameter. If you are running the bot with only one base coin, disable it. On the contrary, if you are trading with several base coins, enable it.

0

Unexpected token error on Gunbot – How to fix

Are you getting an error msg something like “Unexpected token” when running Gunbot on Bitmex?  Don’t worry, we are going to tell you how to fix it. SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at Request.__dirname.makeRequest.request [as _callback] (C:\snapshot\gunbotv12_alfa\ctx\helper\bitmex\index.js:44:28) at Request.init.self.callback (C:\snapshot\gunbotv12_alfa\node_modules\request\request.js:185:22) at Request.emit (events.js:159:13) at Request.<anonymous> (C:\snapshot\gunbotv12_alfa\node_modules\request\request.js:1161:10) at Request.emit (events.js:159:13) at IncomingMessage.<anonymous> (C:\snapshot\gunbotv12_alfa\node_modules\request\request.js:1083:12) at Object.onceWrapper (events.js:254:19) at IncomingMessage.emit (events.js:164:20) at endReadableNT (_stream_readable.js:1054:12) at _combinedTickCallback […]

0

Fix empty error on Gunbot

Is your Gunbot showing an empty error message (Binance {}, Bittrex {} etc…) when trying to trade? This error can be caused by several things: 1- Database is getting too heavy: After some time, gunthygui.db file size gets heavy, and once the size is above 500kb, depending on your system, it could cause lag. This lag may lead to this error. The way to fix it, is just to stop the […]

Contact us