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