{"record":{"id":"1916266a0e05069b","repo":"OpenBB-finance/OpenBB","slug":"error-processing-data-report-data-error-r","errorCode":null,"errorMessage":"Error processing data: {report_data['error']} -> Report ID: {query.report_id}","messagePattern":"Error processing data: (.+?) -> Report ID: (.+?)","errorType":"exception","errorClass":"OpenBBError","httpStatus":null,"severity":"error","filePath":"openbb_platform/providers/government_us/openbb_government_us/models/commodity_psd_data.py","lineNumber":396,"sourceCode":"                    start_year=query.start_year,\n                    end_year=query.end_year,\n                )\n                return timeseries_data\n            except (ValueError, OpenBBError) as e:\n                raise OpenBBError(e) from None\n\n        report_id = PSD_REPORT_NAMES[query.report_id or \"world_crop_production_summary\"]\n\n        try:\n            report_data = await get_psd_report_data(report_id)\n\n            if not report_data.get(\"data\", []):\n                raise OpenBBError(\n                    \"The request was successful but no data was returned. This might be a bug or a network error.\"\n                    + f\" -> Report ID: {query.report_id}\"\n                )\n            if report_data.get(\"error\", \"\"):\n                raise OpenBBError(\n                    f\"Error processing data: {report_data['error']} -> Report ID: {query.report_id}\"\n                )\n        except OpenBBError as e:\n            raise e from e\n\n        return report_data.get(\"data\", [])\n\n    @staticmethod\n    def transform_data(\n        query: GovernmentUsCommodityPsdDataQueryParams,\n        data: list,\n        **kwargs: Any,\n    ) -> list[GovernmentUsCommodityPsdData]:\n        \"\"\"Transform and validate the data.\"\"\"\n        return [GovernmentUsCommodityPsdData.model_validate(item) for item in data]\n","sourceCodeStart":378,"sourceCodeEnd":412,"githubUrl":"https://github.com/OpenBB-finance/OpenBB/blob/3e071fcc2cd9f891cac6040ae60296dba76dab46/openbb_platform/providers/government_us/openbb_government_us/models/commodity_psd_data.py#L378-L412","documentation":"Error \"Error processing data: {report_data['error']} -> Report ID: {query.report_id}\" thrown in OpenBB-finance/OpenBB.","triggerScenarios":"Thrown at openbb_platform/providers/government_us/openbb_government_us/models/commodity_psd_data.py:396 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the server-provided error for the specific cause.","Verify the report_id is valid and try again.","Try a different report or adjust query parameters."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3e071fcc2cd9f891cac6040ae60296dba76dab46","analyzedAt":"2026-08-14T23:40:48.960Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}