Closed Vegas10128 closed 1 month ago
Hey @Vegas10128 This looks like a permission error. Did you enable all necessary permissions on your coinbase api key ?
Hey @Vegas10128 This looks like a permission error. Did you enable all necessary permissions on your coinbase api key ?
Hi there, Pretty sure I did, however i will check and see again and get back with you on this.
Hey @Vegas10128 This looks like a permission error. Did you enable all necessary permissions on your coinbase api key ?
Yes, everything in coinbase api permissions has been approved via permissions.
Sorry, didnt mean to open an issue, After a couple of days looking into the issue, I found out a couple things. I have to log back into coinbase and edit the api key then save permissions which fixed this issue, I also found out the chains for each crypto were not set correctly.
Now everything is working.
Great, thank you for your feedback @Vegas10128 !
Describe your environment
Ubuntu 22.04 / Docker
Step 3: Describe the problem:
Describe the bug OctoBot is not placing any trades, such as buying or selling with Coinbase. Error code in logs show
Failed to get_recent_trades coinbase GET https://api.coinbase.com/api/v3/brokerage/products/ADA-USDT/ticker?limit=20 401 Unauthorized Unauthorized
Failed to get_symbol_prices of ETH/USDT on 1m: AuthenticationError on coinbase GET https://api.coinbase.com/api/v3/brokerage/products/ETH-USDT/candles?granularity=ONE_MINUTE&start=1712579632&end=1712597632 401 Unauthorized Unauthorized
Failed to get_symbol_prices of ADA/USDT on 1m: AuthenticationError on coinbase GET https://api.coinbase.com/api/v3/brokerage/products/ADA-USDT/candles?granularity=ONE_MINUTE&start=1712579617&end=1712597617 401 Unauthorized Unauthorized
Expected behavior No errors in logs, and trading, buy / sell should be working.
ccxt.base.errors.AuthenticationError: coinbase GET https://api.coinbase.com/api/v3/brokerage/orders/historical/batch?order_status=OPEN&product_id=ADA-USDT&limit=100 401 Unauthorized Unauthorized 2024-04-08 12:40:26 DEBUG OHLCVUpdater[coinbase] logging_util.py:182 Missing candles in request results for ADA/USDT on TimeFrames.ONE_MINUTE, refreshing in 10 seconds (available candles: []). 2024-04-08 12:40:37 DEBUG OHLCVUpdater[coinbase] logging_util.py:182 Missing candles in request results for ADA/USDT on TimeFrames.ONE_MINUTE, refreshing in 10 seconds (available candles: []). 2024-04-08 12:40:47 WARNING OHLCVUpdater[coinbase] logging_util.py:200 Failed to get_symbol_prices of ADA/USDT on 1m: AuthenticationError on coinbase GET https://api.coinbase.com/api/v3/brokerage/products/ADA-USDT/candles?granularity=ONE_MINUTE&start=1712579747&end=1712597747 401 Unauthorized Unauthorized 2024-04-08 12:40:49 DEBUG OHLCVUpdater[coinbase] logging_util.py:182 Missing candles in request results for ADA/USDT on TimeFrames.ONE_MINUTE, refreshing in 10 seconds (available candles: []). 2024-04-08 12:40:54 WARNING RecentTradeUpdater[coinbase] logging_util.py:200 Failed to get_recent_trades coinbase GET https://api.coinbase.com/api/v3/brokerage/products/ADA-USDT/ticker?limit=20 401 Unauthorized Unauthorized