Hello, this library is awesome, but in using it I am running into some data related problems.
I am using the client.get_lead_activity() method
UnicodeEncodeError: 'ascii' codec can't encode characters in position xx
....."get_lead_activity.py", line 17, in unwrap
root = ET.fromstring(response.text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1640, in feed
self._parser.Parse(data, 0)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 9393-9402: ordinal not in range(128)
Hello, this library is awesome, but in using it I am running into some data related problems.
I am using the client.get_lead_activity() method
UnicodeEncodeError: 'ascii' codec can't encode characters in position xx
....."get_lead_activity.py", line 17, in unwrap
root = ET.fromstring(response.text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1640, in feed
self._parser.Parse(data, 0)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 9393-9402: ordinal not in range(128)