Summary
Metaculus added a new 403 error code api_forecasting_not_enabled that is returned when a user's account does not have API forecasting enabled (a feature-flag gated permission introduced in 2026). The error is not declared in our OpenAPI spec and is not handled in the Metaculus errors module.
Impact
CRITICAL — unhandled 403 responses will surface as generic HTTP errors rather than actionable user-facing messages. Users with this restriction will see confusing failures when attempting to place forecasts via PMXT.
Details
- Error code:
api_forecasting_not_enabled
- HTTP status: 403
- Trigger: user account does not have API forecasting permission enabled on Metaculus
- Current state: not present in
core/specs/metaculus.yaml error schemas; not handled in core/src/exchanges/metaculus/errors.ts (or equivalent)
- Metaculus docs indicate users must enable this via account settings or contact support
Required Fix
- Add
api_forecasting_not_enabled to the 403 error schema in core/specs/metaculus.yaml
- Add a handler in the Metaculus error normalizer that surfaces a clear user message: e.g. "Metaculus API forecasting is not enabled for your account. Visit your Metaculus account settings to enable it."
- Ensure the error does not get swallowed as a generic 403
Summary
Metaculus added a new 403 error code
api_forecasting_not_enabledthat is returned when a user's account does not have API forecasting enabled (a feature-flag gated permission introduced in 2026). The error is not declared in our OpenAPI spec and is not handled in the Metaculus errors module.Impact
CRITICAL — unhandled 403 responses will surface as generic HTTP errors rather than actionable user-facing messages. Users with this restriction will see confusing failures when attempting to place forecasts via PMXT.
Details
api_forecasting_not_enabledcore/specs/metaculus.yamlerror schemas; not handled incore/src/exchanges/metaculus/errors.ts(or equivalent)Required Fix
api_forecasting_not_enabledto the 403 error schema incore/specs/metaculus.yaml