Username: Password:

Author Topic: After trying 5.0.5 unsuccessfully - now version 3.3.2 runs with error code 422  (Read 11016 times)

Offline sschleicher

  • Rookie
  • *
  • Posts: 3
    • View Profile
Hi, I tried getting version 5.0.5 setup and running.  I ran into some problems so I decided to just switch back to version 3.3.2 for the moment.  But when I switched back, now I get error code 422 over and over and over again. 

Attaching logs and config file (with secret XXed out).


The app is throwing an exception:

Creating market client for USDT_BTC pair
Activating hot reconfig...
###[ --2017/10/13 20:13:33--poloniex--USDT_BTC  --  Gunbot v3.3 cycle #1 --------------- ]
::::: collecting market data...
Server running at http://127.0.0.1:50459
(node:20292) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
Unhandled rejection Error: statusCode 422
    at Object.console.C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\poloniex.js.module.exports.Market.getLastBuyRate.poloniex.returnTradeHistory [as callback] (evalmachine.<anonymous>:0:0)
    at C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\async\dist\async.js:2243:31
    at C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\async\dist\async.js:906:16
    at Request._callback (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\plnx\lib\index.js:134:7)
    at Request.self.callback (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\request\request.js:188:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:192:7)
    at Request.<anonymous> (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\request\request.js:1171:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:189:7)
    at IncomingMessage.<anonymous> (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\request\request.js:1091:12)
    at Object.onceWrapper (events.js:291:19)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:186:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)
Unhandled rejection Error: statusCode 422
    at Object.console.C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\poloniex.js.module.exports.Market.getLastBuyRate.poloniex.returnTradeHistory [as callback] (evalmachine.<anonymous>:0:0)
    at C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\async\dist\async.js:2243:31
    at C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\async\dist\async.js:906:16
    at Request._callback (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\plnx\lib\index.js:134:7)
    at Request.self.callback (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\request\request.js:188:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:192:7)
    at Request.<anonymous> (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\request\request.js:1171:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:189:7)
    at IncomingMessage.<anonymous> (C:\snapshot\Users\Enrico\Desktop\xBot_v2.9.3\node_modules\request\request.js:1091:12)
    at Object.onceWrapper (events.js:291:19)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:186:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Offline sschleicher

  • Rookie
  • *
  • Posts: 3
    • View Profile
FYI, was able to get help directly via Telegram.  Problem was with API Key.  Had to setup a new one and switch license.  After that bot worked again.