Visitar URL original
raise RatesNotAvailableError("Currency Rates Source Not Ready") · Issue #158 · MicroPyramid/forex-python · GitHub
Skip to content

raise RatesNotAvailableError("Currency Rates Source Not Ready") #158

Description

@1mfk1

Been getting this non-stop since last week.
Am I banned due to rate limit?
I accidentally tried to call the API 80,000 times.

Activity

  1. erikvanzijst commented on Aug 4, 2025

    @erikvanzijst

    First time user and getting the same thing right out of the box.

    RatesNotAvailableError                    Traceback (most recent call last)
    Cell In[8], line 4
          1 from datetime import date
          3 #c.get_rate('USD', 'EUR', date(2024, 7, 2))
    ----> 4 c.get_rates('USD')
    
    File [/opt/conda/lib/python3.12/site-packages/forex_python/converter.py:62](https://xxxx/opt/conda/lib/python3.12/site-packages/forex_python/converter.py#line=61), in CurrencyRates.get_rates(self, base_cur, date_obj)
         60     rates = self._decode_rates(response, date_str=date_str)
         61     return rates
    ---> 62 raise RatesNotAvailableError("Currency Rates Source Not Ready")
    
    RatesNotAvailableError: Currency Rates Source Not Ready
    
  2. erikvanzijst commented on Aug 4, 2025

    @erikvanzijst

    Looks like it's https://theratesapi.com being broken and returning 504's after a 1 min timeout.

  3. snthibaud commented on Jan 2, 2026

    @snthibaud

    I encountered this now with version 1.9.2. Seems it is the same issue as mentioned by @erikvanzijst a few months ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions