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 attempting to search for an existing lead via an email address. The API request goes in successfully but iterating through the results results in an KeyError
def get_page(self, url, params={}):
# get a page of results
# from intercom import Intercom
# if there is no url stop iterating
if url is None:
raise StopIteration
response = self.client.get(url, params)
if response is None:
raise HttpError('Http Error - No response entity returned')
> collection = response[self.collection]
E KeyError: 'contacts'
/usr/local/lib/python3.10/site-packages/intercom/collection_proxy.py:85: KeyError
The text was updated successfully, but these errors were encountered:
Hello,
I am attempting to search for an existing lead via an email address. The API request goes in successfully but iterating through the results results in an
KeyError
I am using version:
python-intercom==3.1.0
Code sample to reproduce
Produces the unhandled exception
The text was updated successfully, but these errors were encountered: