Hi,
We are using the ruby bindings from the official repo here and there are a few examples on how to search for contacts, for instance:
# Search for contacts by email
contacts = intercom.contacts.search(
"query": {
"field": 'email',
"operator": '=',
"value": 'some_contact@example.com'
}
)
contacts.each {|c| p c.email}
# For full detail on possible queries, please refer to the API documentation:
# https://developers.intercom.com/intercom-api-reference/reference
When trying to access the resulting collection I always get a Resource Not Found (Intercom::ResourceNotFound) error.
Doing this same search for the same contact with cURL or with the ruby net/http client works fine and returns the contact.
Is the search in the ruby gem broken?