Skip to content

XML pareser error since few weeks. Did amex changed api? #4

@fiberwings

Description

@fiberwings

Since few weeks my code using pyamex stop working at:

client = AmexClient(username='xxxxxxxx', password='xxxxxxx', locale='en_GB')
accounts = client.accounts()

Traceback (most recent call last):
File "", line 1, in
File "/home/xxxxxx/.local/lib/python3.7/site-packages/pyamex/client.py", line 66, in accounts
xml_tree = xml.etree.cElementTree.fromstring(response)
File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1315, in XML
parser.feed(text)
xml.etree.ElementTree.ParseError: syntax error: line 1, column 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions