LeviathanLevi/Coinbase-Pro-Crypto-Trading-Bot-CrypFinder

Errors on the bot

jselim1011 opened this issue · 1 comments

Hi Team,

"level":50,"time":1644417585360,"pid":45465,"hostname":"","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 (//Downloads/coinbase/Coinbase-Pro-Crypto-Trading-Bot-CrypFinder/node_modules/axios/lib/core/createError.js:16:15)\n at settle (/Downloads/coinbase/Coinbase-Pro-Crypto-Trading-Bot-CrypFinder/node_modules/axios/lib/core/settle.js:17:12)\n at IncomingMessage.handleStreamEnd (/Downloads/coinbase/Coinbase-Pro-Crypto-Trading-Bot-CrypFinder/node_modules/axios/lib/adapters/http.js:260:11)\n at IncomingMessage.emit (node:events:402:35)\n at endReadableNT (node:internal/streams/readable:1343:12)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)","config":{"url":"https://api.pro.coinbase.com/fees","method":"get","headers":{"Accept":"application/json, text/plain, /","CB-ACCESS-KEY":"<>","CB-ACCESS-SIGN":"<>","CB-ACCESS-TIMESTAMP":1644417585.276,"CB-ACCESS-PASSPHRASE":"<>>","User-Agent":"axios/0.21.1"},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1}}}

Any idea on this , i know i am putting the correct Api information

I was giving the Api key name wrong