OpenBB-finance/OpenBB · error · OpenBBError

The request was successful but no data was returned. This mi

Error message

The request was successful but no data was returned. This might be a bug or a network error. -> Report ID: {query.report_id}

What it means

Error "The request was successful but no data was returned. This might be a bug or a network error. -> Report ID: {query.report_id}" thrown in OpenBB-finance/OpenBB.

Source

Thrown at openbb_platform/providers/government_us/openbb_government_us/models/commodity_psd_data.py:391

                timeseries_data = get_timeseries(
                    commodity=query.commodity,
                    attribute=query.attribute,
                    country=query.country,
                    aggregate_region=query.aggregate_regions,
                    start_year=query.start_year,
                    end_year=query.end_year,
                )
                return timeseries_data
            except (ValueError, OpenBBError) as e:
                raise OpenBBError(e) from None

        report_id = PSD_REPORT_NAMES[query.report_id or "world_crop_production_summary"]

        try:
            report_data = await get_psd_report_data(report_id)

            if not report_data.get("data", []):
                raise OpenBBError(
                    "The request was successful but no data was returned. This might be a bug or a network error."
                    + f" -> Report ID: {query.report_id}"
                )
            if report_data.get("error", ""):
                raise OpenBBError(
                    f"Error processing data: {report_data['error']} -> Report ID: {query.report_id}"
                )
        except OpenBBError as e:
            raise e from e

        return report_data.get("data", [])

    @staticmethod
    def transform_data(
        query: GovernmentUsCommodityPsdDataQueryParams,
        data: list,
        **kwargs: Any,
    ) -> list[GovernmentUsCommodityPsdData]:

View on GitHub (pinned to 3e071fcc2c)

Solutions

  1. Retry the request; this may be a transient network or server error.
  2. Verify the report_id is valid and has published data.
  3. Report the issue if it persists with the same report ID.

When it happens

Trigger: Thrown at openbb_platform/providers/government_us/openbb_government_us/models/commodity_psd_data.py:391 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/b4179fe7621007af. Report an issue: GitHub.