# Yajl.rb:80:in \`initialize'" : an error event: error\_class=ArgumentError error="wrong number of arguments (1 for 0)"

**URL:** <https://www.ruby-forum.com/t/yajl-rbin-initialize-an-error-event-error-class-argumenterror-error-wrong-number-of-arguments-1-for-0/262436>\
**Category:** Uncategorized\
**Created:** [January 21, 2022, 6:40pm UTC](https://www.ruby-forum.com/t/yajl-rbin-initialize-an-error-event-error-class-argumenterror-error-wrong-number-of-arguments-1-for-0/262436 "2022-01-21T18:40:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dklein](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ecb155/32.png) [@dklein](https://www.ruby-forum.com/u/dklein)\
**Post date:** [January 21, 2022, 6:40pm UTC](https://www.ruby-forum.com/t/yajl-rbin-initialize-an-error-event-error-class-argumenterror-error-wrong-number-of-arguments-1-for-0/262436/1 "2022-01-21T18:40:32Z")

</div>

# echo ‘{“message”:“hello”}’ | fluent-cat debug.log

**wrong number of arguments (1 for 0)**

2022-01-21 12:26:09 -0500 [warn]: fluent/root\_agent.rb:187:emit\_error\_event: dump an error event: error\_class=ArgumentError error=“wrong number of arguments (1 for 0)” location=“/opt/csw/lib/ruby/gems/2.0.0/gems/yajl-ruby-1.4.1/lib/ **yajl.rb** :80:in `initialize'" tag="fluent.warn" time=1642785969 record={"error_class"=>"ArgumentError", "error"=>"wrong number of arguments (1 for 0)", "location"=>"/opt/csw/lib/ruby/gems/2.0.0/gems/yajl-ruby-1.4.1/lib/yajl.rb:80:in `initialize’”, “tag”=\>“fluent.debug”, “time”=\>1642785969, “record”=\>{“message”=\>“fluentd main process get SIGINT”, “@timestamp”=\>“2022-01-21T12:26:09-05:00”}, “message”=\>“dump an error event: error\_class=ArgumentError error="wrong number of arguments (1 for 0)" location="/opt/csw/lib/ruby/gems/2.0.0/gems/yajl-ruby-1.4.1/lib/yajl.rb:80:in `initialize’" tag="fluent.debug" time=1642785969 record={"message"=\>"fluentd main process get SIGINT", "@timestamp"=\>"2022-01-21T12:26:09-05:00"}”, “@timestamp”=\>“2022-01-21T12:26:09-05:00”}

Please help!
