- Notifications
You must be signed in to change notification settings - Fork 137
Open
Description
Version info
- intercom-ruby version: 3.5.26
- Ruby version: 2.7.8p225
Expected behavior
The tracking should pass normally.
Actual behavior
It fails because in the metadata there are parameters called base_amount and quote_amount that it doesn't seem to like.
Steps to reproduce
def intercom @intercom ||= Intercom::Client.new(token: ENV['INTERCOM_ACCESS_TOKEN']) end intercom.events.create( user_id: 123, event_name: 'event', created_at: Time.now.to_i, metadata: { base_amount: [2_000, 'A'], quote_amount: [2_000, 'B'], } )Logs
Intercom::BadRequestError found unpermitted parameters: :base_amount, :quote_amount Metadata
Metadata
Assignees
Labels
No labels