Description
Hello !
Thank you for the library :)
I cannot iterate through the tags I have in my Workspace. When I do
` # find all tags using the Intercom API
alltags = intercom.tags.all()
# collect all tag names
tag_names = [tag.name for tag in alltags]`
I get this error :
Traceback (most recent call last):
File "C:\Users\Utilisateur\AppData\Local\Programs\Python\Python310\lib\code.py", line 90, in runcode
exec(code, self.locals)
File "", line 5, in
File "", line 5, in
File "C:\Users\Utilisateur\OneDrive\Documents\code_perifit\ai_intercom_tag\venv\lib\site-packages\intercom\collection_proxy.py", line 46, in next
self.get_first_page()
File "C:\Users\Utilisateur\OneDrive\Documents\code_perifit\ai_intercom_tag\venv\lib\site-packages\intercom\collection_proxy.py", line 67, in get_first_page
return self.get_page(self.finder_url, self.finder_params)
File "C:\Users\Utilisateur\OneDrive\Documents\code_perifit\ai_intercom_tag\venv\lib\site-packages\intercom\collection_proxy.py", line 85, in get_page
collection = response[self.collection]
KeyError: 'tags'
Using directly the Intercom API works though