lead
#<Intercom::Contact:0x0000561eb31f1788 @changed_fields=#<Set: {"name", "custom_attributes"}>, @email="genuitytest+56565@work4humanity.com", @last_seen_ip=nil, @custom_attributes={"Company Name"=>"", "Company Website"=>""}, @client=#<Intercom::Client:0x0000561eb6dae938 @token="dG9rOmJkYzViNmQxXzBiZjFfNDhkNF85MDg0X2EzNjBiNDcwNmI0MDoxOjA=", @api_version=nil, @base_url="https://api.intercom.io", @rate_limit_details={}, @handle_rate_limit=false, @timeouts={:open_timeout=>30, :read_timeout=>90}>, @type="contact", @id="663b8c8ae671dfde9a0b02a0", @user_id="57858049-29f2-40b9-93d7-f9ad46352826", @anonymous=true, @phone=nil, @name="folka devop", @pseudonym="Lime Anchor", @avatar=#<Intercom::Avatar:0x0000561eb7af9a20 @changed_fields=#<Set: {}>, @type="avatar", @image_url=nil, @client=#<Intercom::Client:0x0000561eb6dae938 @token="dG9rOmJkYzViNmQxXzBiZjFfNDhkNF85MDg0X2EzNjBiNDcwNmI0MDoxOjA=", @api_version=nil, @base_url="https://api.intercom.io", @rate_limit_details={}, @handle_rate_limit=false, @timeouts={:open_timeout=>30, :read_timeout=>90}>>, @app_id="by9ylplb", @companies=[], @location_data={}, @last_request_at=nil, @created_at=1715178634, @remote_created_at=nil, @signed_up_at=nil, @updated_at=1715178634, @session_count=0, @social_profiles=[], @owner_id=nil, @unsubscribed_from_emails=false, @marked_email_as_spam=false, @has_hard_bounced=false, @tags=[], @segments=[], @referrer=nil, @utm_campaign=nil, @utm_content=nil, @utm_medium=nil, @utm_source=nil, @utm_term=nil, @do_not_track=nil, @user_agent_data=nil>
As lead is present then why it should raised the error
@intercom.contacts.save(lead)
| *** Intercom::ResourceNotFound Exception: Resource Not Found
Answered
Intercom::ResourceNotFound Exception: Resource Not Found
Best answer by Ebenezer.Laleye
Hi
Thank you for the extra context.
Quick question, are you able retrieve the lead after creating?
Does this error only occur when you need to update a lead?
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOor
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.