Skip to main content
Answered

UpdateUser method giving "400 - User already exists" error when trying to update user_id

  • September 25, 2024
  • 1 reply
  • 47 views

We are trying to update user_id for a bunch of intercom users but UpdateUser method is giving "400 - User already exists" error when trying to update user_id. We are calling this api for multiple users and for most it is giving 400 response. According to the API documentation, we should be able to update user_id when id is passed.
Params passed
{
    id: <Intercom user id>,

   user_id: <user Id to set>

}

We are using node intercom-client 2.11.2 with app token for API version 1.0

Best answer by mateusz.leszkiewicz

Hi @jayesh.p, It’s Mat from the Support Engineering Team 😀

It is an expected behaviour because you can't update user id via API since it is an id the Intercom uses to identify the contact.

You can merge leads with users or delete the user and create a new one with the new User ID, Does that make sense to you?

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

1 reply

mateusz.leszkiewicz
Intercom Team
Forum|alt.badge.img+5

Hi @jayesh.p, It’s Mat from the Support Engineering Team 😀

It is an expected behaviour because you can't update user id via API since it is an id the Intercom uses to identify the contact.

You can merge leads with users or delete the user and create a new one with the new User ID, Does that make sense to you?


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