{"record":{"id":"860a35b1415125c9","repo":"cube-js/cube","slug":"unknown-configuration-property-s","errorCode":null,"errorMessage":"Unknown configuration property: '%s'","messagePattern":"Unknown configuration property: '(.+?)'","errorType":"exception","errorClass":"ConfigurationException","httpStatus":null,"severity":"error","filePath":"packages/cubejs-backend-native/python/cube/src/__init__.py","lineNumber":141,"sourceCode":"        self.repository_factory = None\n        self.schema_version = None\n        self.semantic_layer_sync = None\n        self.pre_aggregations_schema = None\n        self.orchestrator_options = None\n        self.context_to_groups = None\n        self.fast_reload = None\n\n    def __call__(self, func):\n        if isinstance(func, str):\n            return AttrRef(self, func)\n\n        if not callable(func):\n            raise ConfigurationException(\"@config decorator must be used with functions, actual: '%s'\" % type(func).__name__)\n\n        if hasattr(self, func.__name__):\n            setattr(self, func.__name__, func)\n        else:\n            raise ConfigurationException(\"Unknown configuration property: '%s'\" % func.__name__)\n\nclass AttrRef:\n    config: Configuration\n    attribute: str\n\n    def __init__(self, config: Configuration, attribute: str):\n        self.config = config\n        self.attribute = attribute\n\n    def __call__(self, func):\n        if not callable(func):\n            raise ConfigurationException(\"@config decorator must be used with functions, actual: '%s'\" % type(func).__name__)\n\n        if hasattr(self.config, self.attribute):\n            setattr(self.config, self.attribute, func)\n        else:\n            raise ConfigurationException(\"Unknown configuration property: '%s'\" % func.__name__)\n","sourceCodeStart":123,"sourceCodeEnd":159,"githubUrl":"https://github.com/cube-js/cube/blob/7d981676b36392fec34088b9afab6bdcad40207c/packages/cubejs-backend-native/python/cube/src/__init__.py#L123-L159","documentation":"ConfigurationException raised in the Python @config decorator's __call__ (cube package) when the decorated function's name does not correspond to any known configuration property on the Cube config object (checked via hasattr). The function name is treated as the property name, so a typo'd or unsupported name triggers this.","triggerScenarios":"Thrown at packages/cubejs-backend-native/python/cube/src/__init__.py:141 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Rename the decorated function to a supported configuration property (e.g. query_rewrite, extend_context, scheduled_refresh_contexts, pre_aggregations_schema, orchestrator_options, etc.).","Check spelling against the list of configuration attributes initialized in the config class.","Use the string AttrRef form config('property_name') only for properties that exist on the object."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"7d981676b36392fec34088b9afab6bdcad40207c","analyzedAt":"2026-09-02T03:45:10.400Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T15:18:49.778Z"}