Skip to main content
Answered

404 not found when creating a contact

  • 9 January 2025
  • 1 reply
  • 6 views

We are using PHP api client to add contacts to intercom. Occasionally then requests fail with 404 not found error which is weird since we are creating a new contact.

$contact = $intercom->contacts->create($data);

Http\Client\Common\Exception\ClientErrorException: Not Found

We are adding and updating contacts all the time. In the last week we have had ~10 of these so the actual number of failed calls in relatively low but still were annoying.

Any ideas what is causing this or how to fix this?

Best answer by Jacques Reynolds

Hey ​@Lars Remes 👋 Jacques here from Support Engineering with Intercom.

Does the 404 Not Found error get thrown when you update a Contact or create them? If it happens for an update call, then the issue is likely due to the Contact not existing when you try to update them.

I think that could be the issue here but it would be difficult to tell without having more context on your setup.

I’d recommend reaching out to our Support Team for help via the Messenger so that they can dig into this issue for you! :)

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

1 reply

Jacques Reynolds
Intercom Team
Forum|alt.badge.img+4

Hey ​@Lars Remes 👋 Jacques here from Support Engineering with Intercom.

Does the 404 Not Found error get thrown when you update a Contact or create them? If it happens for an update call, then the issue is likely due to the Contact not existing when you try to update them.

I think that could be the issue here but it would be difficult to tell without having more context on your setup.

I’d recommend reaching out to our Support Team for help via the Messenger so that they can dig into this issue for 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