{"record":{"id":"95ef6bf8b5587ef3","repo":"fluent/fluentd","slug":"proxy-name-arg-section-requires-argument","errorCode":null,"errorMessage":"'<#{proxy.name} ARG>' section requires argument","messagePattern":"'<#(.+?) ARG>' section requires argument","errorType":"exception","errorClass":"ConfigError","httpStatus":null,"severity":"error","filePath":"lib/fluent/config/section.rb","lineNumber":154,"sourceCode":"            opts = opts.merge(strict: true) if strict_config_value\n\n            if conf.arg == :default\n              unless section_params.has_key?(key)\n                logger.error \"config error in:\\n#{conf}\" if logger\n                raise ConfigError, \"'#{key}' doesn't have default value\"\n              end\n            else\n              begin\n                section_params[key] = self.instance_exec(conf.arg, opts, key, &block)\n              rescue ConfigError => e\n                logger.error \"config error in:\\n#{conf}\" if logger\n                raise e\n              end\n            end\n          end\n          unless section_params.has_key?(proxy.argument.first)\n            logger.error \"config error in:\\n#{conf}\" if logger # logger should exist, but sometimes it's nil (e.g, in tests)\n            raise ConfigError, \"'<#{proxy.name} ARG>' section requires argument\" + section_stack\n          end\n          # argument should NOT be deprecated... (argument always has a value: '')\n        end\n\n        proxy.params.each_pair do |name, defval|\n          varname = name.to_sym\n          block, opts = defval\n          opts = opts.merge(strict: true) if strict_config_value\n\n          if conf.has_key?(name.to_s) || opts[:alias] && conf.has_key?(opts[:alias].to_s)\n            val = if conf.has_key?(name.to_s)\n                    conf[name.to_s]\n                  else\n                    conf[opts[:alias].to_s]\n                  end\n\n            if val == :default\n              # default value is already set if it exists","sourceCodeStart":136,"sourceCodeEnd":172,"githubUrl":"https://github.com/fluent/fluentd/blob/dd45c6e18dc7be33b5e5a0f0767bf46307ff5626/lib/fluent/config/section.rb#L136-L172","documentation":"Error \"'<#{proxy.name} ARG>' section requires argument\" thrown in fluent/fluentd.","triggerScenarios":"Thrown at lib/fluent/config/section.rb:154 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"dd45c6e18dc7be33b5e5a0f0767bf46307ff5626","analyzedAt":"2026-08-21T16:22:07.332Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}