{"record":{"id":"e54f75d9bd013c86","repo":"netdata/netdata","slug":"tag-is-not-specified","errorCode":null,"errorMessage":"tag is not specified","messagePattern":"tag is not specified","errorType":"exception","errorClass":"EmitterError","httpStatus":null,"severity":"error","filePath":"src/collectors/python.d.plugin/python_modules/pyyaml3/emitter.py","lineNumber":488,"sourceCode":"    def process_tag(self):\n        tag = self.event.tag\n        if isinstance(self.event, ScalarEvent):\n            if self.style is None:\n                self.style = self.choose_scalar_style()\n            if ((not self.canonical or tag is None) and\n                ((self.style == '' and self.event.implicit[0])\n                        or (self.style != '' and self.event.implicit[1]))):\n                self.prepared_tag = None\n                return\n            if self.event.implicit[0] and tag is None:\n                tag = '!'\n                self.prepared_tag = None\n        else:\n            if (not self.canonical or tag is None) and self.event.implicit:\n                self.prepared_tag = None\n                return\n        if tag is None:\n            raise EmitterError(\"tag is not specified\")\n        if self.prepared_tag is None:\n            self.prepared_tag = self.prepare_tag(tag)\n        if self.prepared_tag:\n            self.write_indicator(self.prepared_tag, True)\n        self.prepared_tag = None\n\n    def choose_scalar_style(self):\n        if self.analysis is None:\n            self.analysis = self.analyze_scalar(self.event.value)\n        if self.event.style == '\"' or self.canonical:\n            return '\"'\n        if not self.event.style and self.event.implicit[0]:\n            if (not (self.simple_key_context and\n                    (self.analysis.empty or self.analysis.multiline))\n                and (self.flow_level and self.analysis.allow_flow_plain\n                    or (not self.flow_level and self.analysis.allow_block_plain))):\n                return ''\n        if self.event.style and self.event.style in '|>':","sourceCodeStart":470,"sourceCodeEnd":506,"githubUrl":"https://github.com/netdata/netdata/blob/4864de85e26f6734d92cfc27ccbeff5921f49938/src/collectors/python.d.plugin/python_modules/pyyaml3/emitter.py#L470-L506","documentation":"Error \"tag is not specified\" thrown in netdata/netdata.","triggerScenarios":"Thrown at src/collectors/python.d.plugin/python_modules/pyyaml3/emitter.py:488 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["A YAML node was emitted without a required tag.","Provide an explicit tag for the node being emitted."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"4864de85e26f6734d92cfc27ccbeff5921f49938","analyzedAt":"2026-08-15T09:12:38.226Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}