Skip to main content
Answered

Ruby/Rails Gem Can't Save Contact: (Intercom::BadRequestError)

  • August 28, 2024
  • 1 reply
  • 16 views

Identical to this issue but with new, Ruby flavor! :

I updated the gem and made sure the SDK is set up for the latest version of the API (2.11), but I still get an issue with saving the created contact. I tried pulling the contact by ID, just to be sure it exists before the save. Sure enough, it’s there and in the dashboard but won’t update. Did anyone ever figure out a way around this?

I’m using Rails 6.1.4, and the latest Intercom gem.

Best answer by Brittany McGarr

I think I figured this out.

Documentation points at 2.11 and gem version 4.2.1 as latest. The rails gem here: https://github.com/intercom/intercom-ruby uses 4.1 gem version and API version 2.2. Seems to work so far. Hope this helps someone down the line.

View original
Did this topic help you find an answer to your question?

1 reply

  • Author
  • New Participant
  • 1 reply
  • Answer
  • August 28, 2024

I think I figured this out.

Documentation points at 2.11 and gem version 4.2.1 as latest. The rails gem here: https://github.com/intercom/intercom-ruby uses 4.1 gem version and API version 2.2. Seems to work so far. Hope this helps someone down the line.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings