{"record":{"id":"012b96d7f77f7590","repo":"OpenBB-finance/OpenBB","slug":"the-requested-returned-no-data-check-the-paramete","errorCode":null,"errorMessage":"The requested returned no data. Check the parameters and try again.","messagePattern":"The requested returned no data\\. Check the parameters and try again\\.","errorType":"exception","errorClass":"OpenBBError","httpStatus":null,"severity":"error","filePath":"openbb_platform/providers/fred/openbb_fred/models/economic_calendar.py","lineNumber":224,"sourceCode":"        end_date = (\n            query.end_date.isoformat()\n            if query.end_date\n            else (\n                (query.start_date + timedelta(days=7)).isoformat()\n                if query.start_date\n                else (datetime.today() + timedelta(days=1)).isoformat()\n            )\n        )\n        rid = str(query.release_id) if query.release_id else \"\"\n\n        try:\n            all_results = await fetch_all_pages(start_date, end_date, rid)\n        except Exception as e:\n            message = str(e) or f\"FRED request failed ({type(e).__name__}).\"\n            raise OpenBBError(message) from e\n\n        if all_results.empty:\n            raise OpenBBError(\n                \"The requested returned no data. Check the parameters and try again.\"\n            )\n\n        return all_results.to_dict(\"records\")\n\n    @staticmethod\n    def transform_data(\n        query: FredEconomicCalendarQueryParams,\n        data: list,\n        **kwargs: Any,\n    ) -> list[FredEconomicCalendarData]:\n        \"\"\"Transform and validate the response.\"\"\"\n        return [FredEconomicCalendarData.model_validate(d) for d in data]\n","sourceCodeStart":206,"sourceCodeEnd":238,"githubUrl":"https://github.com/OpenBB-finance/OpenBB/blob/3e071fcc2cd9f891cac6040ae60296dba76dab46/openbb_platform/providers/fred/openbb_fred/models/economic_calendar.py#L206-L238","documentation":"Error \"The requested returned no data. Check the parameters and try again.\" thrown in OpenBB-finance/OpenBB.","triggerScenarios":"Thrown at openbb_platform/providers/fred/openbb_fred/models/economic_calendar.py:224 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the date range and other parameters and try again.","Widen the date range; economic calendar events may be sparse."],"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"}