You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently upgraded our Ruby version of our application to 3.1.2. We are currently using Rails 6.0.
It seems that since our Ruby upgrade, the ruby-analytics gem throws "[analytics-ruby] wrong argument type nil (expected String)" We recently increased the amount of track & identify calls we are making to Segment and the instances of these errors are growing.
We are calling if Analytics.queued_messages >= 9_000
This is the stack trace that we have. (Note that the last line is what we have in the on_error: Proc.new { |status, msg| puts "Segment Error: #{status}, #{msg}" })
We found the source of this issue. It has to do with a newer version of the oj gem. We were previously at 3.10.14, and upgraded to 3.14.3 which caused this error. When we reverted it back to 3.10.14, it stopped generating this error.
We recently upgraded our Ruby version of our application to 3.1.2. We are currently using Rails 6.0.
It seems that since our Ruby upgrade, the ruby-analytics gem throws "[analytics-ruby] wrong argument type nil (expected String)" We recently increased the amount of track & identify calls we are making to Segment and the instances of these errors are growing.
We are calling
if Analytics.queued_messages >= 9_000
This is the stack trace that we have. (Note that the last line is what we have in the
on_error: Proc.new { |status, msg| puts "Segment Error: #{status}, #{msg}" })
The text was updated successfully, but these errors were encountered: