OpenBB-finance/OpenBB · error · OpenBBError

{FRED API error_message}

Error message

{FRED API error_message}

What it means

Error "{FRED API error_message}" thrown in OpenBB-finance/OpenBB.

Source

Thrown at openbb_platform/providers/fred/openbb_fred/utils/fred_base.py:74

        -------
        data : Series
            a Series where each index is the observation date and the value is the data
            for the Fred series
        """
        url = f"{ROOT_URL}/series/observations?series_id={series_id}"
        if start_date:
            url += "&observation_start=" + start_date.strftime("%Y-%m-%d")
        if end_date:
            url += "&observation_end=" + end_date.strftime("%Y-%m-%d")
        if kwargs.keys():
            url += "&" + urlencode(
                {k: v for k, v in kwargs.items() if k != "preferences"}
            )
        root = self.__fetch_data(url, **kwargs)
        if root is None:
            raise OpenBBError("No data exists for series id: " + series_id)
        if "error_code" in root and "error_message" in root and root["error_message"]:
            raise OpenBBError(root["error_message"])
        return root["observations"]

View on GitHub (pinned to 3e071fcc2c)

Solutions

  1. Read the FRED API error_message for the specific cause.
  2. Verify your FRED API key is valid and not rate limited.
  3. Check the request parameters against the FRED API documentation.

When it happens

Trigger: Thrown at openbb_platform/providers/fred/openbb_fred/utils/fred_base.py:74 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of OpenBB-finance/OpenBB@3e071fcc2c (2026-08-14). Data as JSON: /api/errors/0886dc490b0bb40c. Report an issue: GitHub.