OpenBB-finance/OpenBB · error · OpenBBError

Error: {response.get('error')}. Message: {response.get('mess

Error message

Error: {response.get('error')}. Message: {response.get('message')}

What it means

Error "Error: {response.get('error')}. Message: {response.get('message')}" thrown in OpenBB-finance/OpenBB.

Source

Thrown at openbb_platform/providers/intrinio/openbb_intrinio/models/market_snapshots.py:165

        from datetime import timezone as datetime_timezone  # noqa
        from io import BytesIO  # noqa
        from openbb_core.provider.utils.helpers import (
            amake_request,
            safe_fromtimestamp,
        )  # noqa
        from pandas import DataFrame, notna, read_csv, to_datetime  # noqa

        api_key = credentials.get("intrinio_api_key") if credentials else ""

        # This gets the URL to the actual file.
        url = f"https://api-v2.intrinio.com/securities/snapshots?api_key={api_key}"
        if query.date:
            url += f"&at_datetime={query.date}"

        response = await amake_request(url, **kwargs)

        if isinstance(response, dict) and "error" in response:
            raise OpenBBError(
                f"Error: {response.get('error')}. Message: {response.get('message')}"
            )
        urls: list = []
        # Get the URL to the CSV file.
        if response.get("snapshots"):  # type: ignore
            for d in response["snapshots"]:  # type: ignore
                if d.get("files"):
                    for f in d["files"]:
                        if f.get("url"):
                            urls.append(f.get("url"))
        if not urls:
            raise OpenBBError("No snapshots found.")

        results: list = []

        async def response_callback(response, _):
            """Response Callback."""
            return await response.read()

View on GitHub (pinned to 3e071fcc2c)

Solutions

  1. Read the error and message fields in the response for the specific cause.
  2. Verify your Intrinio API key is valid and has market snapshot access.
  3. Adjust the request parameters and retry.

When it happens

Trigger: Thrown at openbb_platform/providers/intrinio/openbb_intrinio/models/market_snapshots.py:165 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/4b85dd6cf48958cc. Report an issue: GitHub.