{"record":{"id":"1ff13e3a9143c3d3","repo":"fluent/fluentd","slug":"name-unknown-config-argument-type-type","errorCode":null,"errorMessage":"#{name}: unknown config_argument type `#{type}'","messagePattern":"#(.+?): unknown config_argument type `#(.+?)'","errorType":"exception","errorClass":"ArgumentError","httpStatus":null,"severity":"error","filePath":"lib/fluent/config/configure_proxy.rb","lineNumber":267,"sourceCode":"      def parameter_configuration(name, type = nil, **kwargs, &block)\n        config_parameter_option_validate!(name, type, **kwargs, &block)\n\n        name = name.to_sym\n\n        if block && type\n          raise ArgumentError, \"#{name}: both of block and type cannot be specified\"\n        elsif !block && !type\n          type = :string\n        end\n        opts = {}\n        opts[:type] = type\n        opts.merge!(kwargs)\n\n        begin\n          block ||= @type_lookup.call(type)\n        rescue ConfigError\n          # override error message\n          raise ArgumentError, \"#{name}: unknown config_argument type `#{type}'\"\n        end\n\n        # options for config_param\n        option_value_type!(name, opts, :desc, String)\n        option_value_type!(name, opts, :alias, Symbol)\n        option_value_type!(name, opts, :secret, type: :boolean)\n        option_value_type!(name, opts, :deprecated, String)\n        option_value_type!(name, opts, :obsoleted, String)\n        if type == :enum\n          if !opts.has_key?(:list) || !opts[:list].is_a?(Array) || opts[:list].empty? || !opts[:list].all?(Symbol)\n            raise ArgumentError, \"#{name}: enum parameter requires :list of Symbols\"\n          end\n        end\n        option_value_type!(name, opts, :symbolize_keys, type: :boolean)\n        option_value_type!(name, opts, :value_type, Symbol) # hash, array\n        option_value_type!(name, opts, :skip_accessor, type: :boolean)\n\n        if opts.has_key?(:default)","sourceCodeStart":249,"sourceCodeEnd":285,"githubUrl":"https://github.com/fluent/fluentd/blob/dd45c6e18dc7be33b5e5a0f0767bf46307ff5626/lib/fluent/config/configure_proxy.rb#L249-L285","documentation":"Error \"#{name}: unknown config_argument type `#{type}'\" thrown in fluent/fluentd.","triggerScenarios":"Thrown at lib/fluent/config/configure_proxy.rb:267 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"}