You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am posting here to find out if there are any other users of this library which are experiencing errors when updating a lead.
lead=client.leads.find(id="valid-lead-id-here") # This returns successfullylead.updated_at=1715691332client.leads.save(lead) # This returns an API exception
The library raises an exception ResourceNotFound: The requested resource does not exist; check your path and try again.
The underlying HTTP response is as follows.
{'errors': [{'code': 'not_found', 'message': 'The requested resource does not exist; check your path and try again'}], 'type': 'error.list'}
I have looked at the code and the library is issuing a PUT request for the update. We are using version 1.4 of the API which now states to update a POST request should be used.
We are going to resolve this locally by issuing a POST request to the contacts resource, I thought I would write here in case there are others experiencing this issue.
The text was updated successfully, but these errors were encountered:
Hi there!
I am posting here to find out if there are any other users of this library which are experiencing errors when updating a lead.
The library raises an exception
ResourceNotFound: The requested resource does not exist; check your path and try again
.The underlying HTTP response is as follows.
I have looked at the code and the library is issuing a PUT request for the update. We are using version 1.4 of the API which now states to update a POST request should be used.
https://developers.intercom.com/docs/references/1.4/rest-api/leads/update-lead/
We are going to resolve this locally by issuing a POST request to the contacts resource, I thought I would write here in case there are others experiencing this issue.
The text was updated successfully, but these errors were encountered: