Fix StatusCodeError: 403 – “Forbidden” on Gunbot

Are you getting ‘StatusCodeError: 403 – “Forbidden”‘ error when running Gunbot?

This error looks like this:

Loading config…
   info  – socket.io started
GUI Server Deployed: http://localhost:5000
{ StatusCodeError: 403 – “Forbidden”
    at new StatusCodeError (/snapshot/v18build/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.module.exports.plumbing.callback (/snapshot/v18build/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] (/snapshot/v18build/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.init.self.callback (/snapshot/v18build/node_modules/request/request.js:185:22)
    at Request.emit (events.js:159:13)
    at Request.<anonymous> (/snapshot/v18build/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:159:13)
    at IncomingMessage.<anonymous> (/snapshot/v18build/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 (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
  name: ‘StatusCodeError’,
  statusCode: 403,
  message: ‘403 – “Forbidden”‘,
  error: ‘Forbidden’,

There are several reasons that can make this error to appear:

1- Your IP is not allowed in your exchange. Make sure your country is allowed to trade in the exchange you are running the bot at.

2- Make sure your API permissions allow you to trade with Gunbot. In other words, check you haven’t activate IP restrictions in your API settings.

3- If steps 1 and 2 don’t fix your issue, try changing your API key. Sometimes an API key can be broken if you run more than 1 app connecting to the same API, and also if you run a very low delay, your API could be tagged and you would need an API change.

The last advice: Make sure your Gunthy wallet you are using is properly registered in license server and you run a high enough delay, as running too low delay can lead to be banned from some exchanges, and this would force you to change your API.

Submit Your Comment

Contact us