You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After further investigation, getting a 400 when getting EEK rates too.
get_exchangerates('EEK')
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/app/.heroku/src/django-exchange/exchange/adapters/openexchangerates.py", line 29, in get_exchangerates
return self.client.latest(base)['rates'].items()
File "/app/.heroku/python/lib/python2.7/site-packages/openexchangerates/__init__.py", line 52, in latest
raise OpenExchangeRatesClientException(e)
OpenExchangeRatesClientException: 400 Client Error: Bad Request for url: http://openexchangerates.org/api/latest.json?app_id=xxxxxxxxxxxxxxxxx&base=EEK
I obscured the app_id.
Shouldn't this be caught in some way?
The text was updated successfully, but these errors were encountered:
Getting a KeyError on exchange.tasks.update_task
Here's the info about the exception:
KeyError 'EEK'
After further investigation, getting a 400 when getting
EEK
rates too.I obscured the app_id.
Shouldn't this be caught in some way?
The text was updated successfully, but these errors were encountered: