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 […]


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 […]


How to fix “esockettimeout” error on Gunbot

It’s normal to get esockettimeout message from time to time when running Gunbot. The bot does thousands of connections and sometimes a connection is not successful, and then this message appears. As I said, this error is normal and it doesn’t affect to the bot’s performance. Of course, in the case you are getting this message […]


How to fix the “Buy order from more than 30 days ago” error

Are you getting the message “Buy order from more than 30 days ago” when running Gunbot? Don’t worry, we are going to explain what is this error and how to fix it easily. First of all, why does this message appear? In order to set the selling price, Gunbot needs to have a reference price, […]


Issue creating buy order in Gunbot – How to fix

If you are getting “Issue creating buy order” or “Issue creating sell order” when running Gunbot, most likely the problem is caused by one of the following things: 1- There isn’t enough funds to make the purchase. 2- Wrong minimum volume to buy or wrong minumum to sell. For example, if the minimum volume to buy […]


How to fix “RSI undefined” error on Gunbot

How to fix “RSI undefined” error when running Gunbot? Usually this error is caused by a very low Bot_delay. Follow these steps in order to fix this error: 1- Stop the bot. 2- Raise bot delay by 2 seconds and save changes. 3- Start the bot and check if the error is fixed. If not, […]


How to fix unable to connect to Exchange error on Gunbot

If you are getting “Unable to connect to Exchange. Please if this error persists, stop Gunbot, wait a few minutes and then start it again…” message when running Gunbot, it can be caused by several things. Let’s see how to fix it: 1- If you are running the bot on Binance, most likely the problem […]


How to fix Error: read ECONNRESET

A lot of people want to know what “Error: read ECONNRESET” error means when running Gunbot and how to fix it. That’s a normal error, as far as you get it from time to time. I mean, the bot does hundreds of connections, and that’s is just a connection that didn’t succeed. A good strong […]