Skip to main content
Answered

Intercom::ResourceNotFound Exception: Resource Not FounD

  • 8 May 2024
  • 1 reply
  • 102 views

@Nathan Sudds @Milan anyone can help  me regarding this issue:
 

 first of all I created the lead on the intercom just like that:
lead = @intercom.contacts.create(args)
it successfully created the lead on the intercom and after that I want to update the lead on the intercom just like 
lead = find_lead(my_args[:lead_id])

company_name = registration_info.company_name || ""

company_website = registration_info.company_url || ""

 lead.name = registration_info.full_name.to_s

lead.custom_attributes = {

"Company Name": company_name,

 "Company Website": company_website

 }

@intercom.contacts.save(lead)
and I got the lead id but when I am going to execute this line 
@intercom.contacts.save(lead)
it gives me this error:
@intercom.contacts.save(lead)
| *** Intercom::ResourceNotFound Exception: Resource Not Found
although I get the lead through postman using the lead id and I got the lead but this shows Resource not found.please help me to fixed it.Regards

Best answer by Milan

@jahanzaib I’m not a developer so I have a limited knowledge of this. It would be the best if you can check with Intercom chat support to give you more details on what resource is not found. 

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

1 reply

Milan
Expert User ✨
Forum|alt.badge.img+5
  • Top Expert
  • 306 replies
  • Answer
  • May 9, 2024

@jahanzaib I’m not a developer so I have a limited knowledge of this. It would be the best if you can check with Intercom chat support to give you more details on what resource is not found. 


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