OpenBB-finance/OpenBB · error · OpenBBError
No valid topic selected. Please select a valid topic.
Error message
No valid topic selected. Please select a valid topic.
What it means
Error "No valid topic selected. Please select a valid topic." thrown in OpenBB-finance/OpenBB.
Source
Thrown at openbb_platform/providers/fred/openbb_fred/models/manufacturing_outlook_ny.py:475
ids: list = []
topics = query.topic.split(",")
seasonality = "sa" if query.seasonally_adjusted is True else "not_sa"
for t in topics:
future_series = list(
NY_MANUFACTURING_OUTLOOK.get("future_" + t, {})
.get(seasonality, {})
.values()
)
current_series = list(
NY_MANUFACTURING_OUTLOOK.get("current_" + t, {})
.get(seasonality, {})
.values()
)
topic_ids = future_series + current_series
ids.extend(topic_ids)
if not ids:
raise OpenBBError("No valid topic selected. Please select a valid topic.")
frequency = query.frequency[:1].lower() if query.frequency else None
try:
response = await FredSeriesFetcher.fetch_data(
dict(
symbol=",".join(ids),
start_date=query.start_date,
end_date=query.end_date,
transform=query.transform,
frequency=frequency,
aggregation_method=query.aggregation_method,
),
credentials,
)
except Exception as e:
message = str(e) or f"FRED request failed ({type(e).__name__})."
raise OpenBBError(message) from eView on GitHub (pinned to 3e071fcc2c)
Solutions
- Select at least one valid topic from the available choices.
- Check the topic names against the documented list for this endpoint.
When it happens
Trigger: Thrown at openbb_platform/providers/fred/openbb_fred/models/manufacturing_outlook_ny.py:475 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/e9c8ba8288b88b5d.
Report an issue: GitHub.