This is one of the most clear errors when running Gunbot. If you are running Gunbot with TradingView Addon, maybe you have seen this message:
Loading config…
Loading exchange bittrex
{ Error: Invalid credentials (Failure)
at Connection._resTagged (C:\snapshot\Gunbot-master\node_modules\imap\lib\Connection.js:1502:11)
at Parser. (C:\snapshot\Gunbot-master\node_modules\imap\lib\Connection.js:194:10)
at emitOne (events.js:115:13)
at Parser.emit (events.js:210:7)
at Parser._resTagged (C:\snapshot\Gunbot-master\node_modules\imap\lib\Parser.js:175:10)
at Parser._parse (C:\snapshot\Gunbot-master\node_modules\imap\lib\Parser.js:139:16)
at Parser._tryread (C:\snapshot\Gunbot-master\node_modules\imap\lib\Parser.js:82:15)
at TLSSocket.__dirname.Parser.debug._cbReadable (C:\snapshot\Gunbot-master\node_modules\imap\lib\Parser.js:53:12)
at emitNone (events.js:105:13)
at TLSSocket.emit (events.js:207:7)
at emitReadable_ (_stream_readable.js:500:10)
at emitReadable (_stream_readable.js:494:7)
at addChunk (_stream_readable.js:261:7)
at readableAddChunk (_stream_readable.js:237:11)
at TLSSocket.Readable.push (_stream_readable.js:195:10)
at TLSWrap.onread (net.js:586:20)
at Socket.ondata (_stream_wrap.js:58:20)
at emitOne (events.js:115:13)
at Socket.emit (events.js:210:7)
at addChunk (_stream_readable.js:250:12)
at readableAddChunk (_stream_readable.js:237:11)
at Socket.Readable.push (_stream_readable.js:195:10)
at TCP.onread (net.js:586:20)
type: ‘no’,
textCode: ‘AUTHENTICATIONFAILED’,
source: ‘authentication’ }
2017/11/09 22:06:02 Connection ended

In order to allow Gunbot to check your email for buy and sell alerts, you need to put the correct data, so Gunbot will be able to login to your email:
“user”: “YOUR_EMAIL_HERE”,
“password”: “YOUR_PASSWORD_HERE”,
“host”: “imap.gmail.com”,
If you don’t put the correct info, you will get “Invalid credentials – Authentificationfailed” error.