Freqtrade: Bittrex: API_KEY - AuthenticationError with Valid API_KEYS

Created on 15 Oct 2019  路  4Comments  路  Source: freqtrade/freqtrade

My apologies if this is a very noob question but I'm encountering an APIKEY_INVALID error message on the Bittrex exchange. My API Keys are valid and I'm encountering this message as I switched from [dry_run: true] to [dry_run: false]. Any explanation or help would be greatly appreciated.

019-10-14 20:21:03,440 - freqtrade.exchange.exchange - INFO - Applying additional ccxt config: {'enableRateLimit': True}
2019-10-14 20:21:03,449 - freqtrade.exchange.exchange - INFO - Applying additional ccxt config: {'enableRateLimit': True, 'rateLimit': 200}
2019-10-14 20:21:03,482 - freqtrade.exchange.exchange - INFO - Using Exchange "Bittrex"
2019-10-14 20:21:11,031 - freqtrade.exchange.exchange - WARNING - get_balances() returned exception: "Could not get balance due to AuthenticationError. Message: bittrex {"success":false,"message":"APIKEY_INVALID","result":null}"
....
File "/home/pi/freqtrade/freqtrade/exchange/exchange.py", line 567, in get_balances
    f'Could not get balance due to {e.__class__.__name__}. Message: {e}') from e
freqtrade.TemporaryError: Could not get balance due to AuthenticationError. Message: bittrex {"success":false,"message":"APIKEY_INVALID","result":null}
Question

All 4 comments

well the message is rather clear:
Could not get balance due to AuthenticationError. Message: bittrex {"success":false,"message":"APIKEY_INVALID","result":null}

  • could be a copy/paste error (missing character at the start or end)
  • or the 2 fields key / secret are swapped
  • or the keys are revoked on the exchange
  • or they have an IP limit in place, which does not include the IP the bot is running on

Edit: just retested to be sure, having the keys in places does work correctly with bittrex ...

@nickbarmore7 have you fixed it? Is it still actual?

Yes, the issue was solved by getting new API Keys from the exchange. Thanks @hroff-1902

Thanks for reporting back 馃憤

And thanks to @xmatthias for detailed recipes...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Dante2333 picture Dante2333  路  3Comments

Mesengeros picture Mesengeros  路  4Comments

hroff-1902 picture hroff-1902  路  4Comments

issamBD picture issamBD  路  4Comments

King-Techno picture King-Techno  路  3Comments