Skip to content

Error occurred in getFees method. #13

@akjroller

Description

@akjroller

After following all steps in the set up of this bot I am getting an error when trying to run the bot.
I am using windows 10 installed newest version of NodeJS and Git.
Ran npm install from within the repo directory at the root .
Created the .env file with all required components
Uncommented out the lines for running bot on coinbase pro sandbox and commented out the lines for running the bot on the live coinbase pro

Am I missing something?

{"level":50,"time":1615149540237,"pid":2676,"hostname":"Awakengaming83","message":"Error occurred in getFees method. Number of attempts: 3","errorMsg":{},"err":{"message":"
Request failed with status code 401","stack":"Error: Request failed with status code 401\n at createError (C:\Users\akjro\Desktop\Coinbase-Pro-Crypto-Trading-Bot-Cry
pFinder-master\node_modules\axios\lib\core\createError.js:16:15)\n at settle (C:\Users\akjro\Desktop\Coinbase-Pro-Crypto-Trading-Bot-CrypFinder-master\node_mod
ules\axios\lib\core\settle.js:17:12)\n at IncomingMessage.handleStreamEnd (C:\Users\akjro\Desktop\Coinbase-Pro-Crypto-Trading-Bot-CrypFinder-master\node_modules
\axios\lib\adapters\http.js:244:11)\n at IncomingMessage.emit (events.js:327:22)\n at endReadableNT (internal/streams/readable.js:1327:12)\n at processTicksAnd
Rejections (internal/process/task_queues.js:80:21)","config":{"url":"https://api-public.sandbox.pro.coinbase.com/fees","method":"get","headers":{"Accept":"application/json,
text/plain, /","CB-ACCESS-KEY":"","CB-ACCESS-SIGN":"upelCSMF4ryaOg5PbMcuQiJjphM7SvIo2OSIKahclQ4=","CB-ACCESS-TIMESTAMP":1615149540.081,
"CB-ACCESS-PASSPHRASE":"","User-Agent":"axios/0.20.0"},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHead
erName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1}}}
{"level":50,"time":1615149540239,"pid":2676,"hostname":"Awakengaming83","message":"Error occurred in getFees method.","errorMsg":{},"err":{"message":"Request failed with st
atus code 401","stack":"Error: Request failed with status code 401\n at createError (C:\Users\akjro\Desktop\Coinbase-Pro-Crypto-Trading-Bot-CrypFinder-master\node_m
odules\axios\lib\core\createError.js:16:15)\n at settle (C:\Users\akjro\Desktop\Coinbase-Pro-Crypto-Trading-Bot-CrypFinder-master\node_modules\axios\lib\core
\settle.js:17:12)\n at IncomingMessage.handleStreamEnd (C:\Users\akjro\Desktop\Coinbase-Pro-Crypto-Trading-Bot-CrypFinder-master\node_modules\axios\lib\adapters
\http.js:244:11)\n at IncomingMessage.emit (events.js:327:22)\n at endReadableNT (internal/streams/readable.js:1327:12)\n at processTicksAndRejections (internal/p
rocess/task_queues.js:80:21)","config":{"url":"https://api-public.sandbox.pro.coinbase.com/fees","method":"get","headers":{"Accept":"application/json, text/plain, /","CB-
ACCESS-KEY":"","CB-ACCESS-SIGN":"upelCSMF4ryaOg5PbMcuQiJjphM7SvIo2OSIKahclQ4=","CB-ACCESS-TIMESTAMP":1615149540.081,"CB-ACCESS-PASSPHRASE"
:"","User-Agent":"axios/0.20.0"},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"
,"maxContentLength":-1,"maxBodyLength":-1}}}
{"level":50,"time":1615149540239,"pid":2676,"hostname":"Awakengaming83","message":"Error occurred in bot, shutting down. Check the logs for more information.","errorMsg":{}
,"err":{"message":"Request failed with status code 401","stack":"Error: Request failed with status code 401\n at createError (C:\Users\akjro\Desktop\Coinbase-Pro-Cry
pto-Trading-Bot-CrypFinder-master\node_modules\axios\lib\core\createError.js:16:15)\n at settle (C:\Users\akjro\Desktop\Coinbase-Pro-Crypto-Trading-Bot-CrypFind
er-master\node_modules\axios\lib\core\settle.js:17:12)\n at IncomingMessage.handleStreamEnd (C:\Users\akjro\Desktop\Coinbase-Pro-Crypto-Trading-Bot-CrypFinder-m
aster\node_modules\axios\lib\adapters\http.js:244:11)\n at IncomingMessage.emit (events.js:327:22)\n at endReadableNT (internal/streams/readable.js:1327:12)\n
at processTicksAndRejections (internal/process/task_queues.js:80:21)","config":{"url":"https://api-public.sandbox.pro.coinbase.com/fees","method":"get","headers":{"Accept"
:"application/json, text/plain, /","CB-ACCESS-KEY":"","CB-ACCESS-SIGN":"upelCSMF4ryaOg5PbMcuQiJjphM7SvIo2OSIKahclQ4=","CB-ACCESS-TIMESTA
MP":1615149540.081,"CB-ACCESS-PASSPHRASE":"","User-Agent":"axios/0.20.0"},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XS
RF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions