ms32035 / firefly-iii-client

Python client for Firefly III API. Please read .generator/Readme.md
19 stars 8 forks source link

ApiException for TransactionSplit no attribute 'external_uri' #10

Closed chrgm closed 2 years ago

chrgm commented 3 years ago

When I run the example code, besides from the dateutil_parser which I needed to import and change to parser.parse. I always get an ApiException for the TransactionSplit model. It doesn't matter if I want to store a transaction or get them.

This is the error I get when I just use the example code but also every other code.

firefly_iii_client.exceptions.ApiAttributeError: TransactionSplit has no attribute 'external_uri' at ['received_data']['data'][0]['attributes']['transactions'][0]['external_uri']

It seems to be that external_uri is not defined but the server sends it back which leads to the exception. May somebody be able to change that or show me my mistake?

ms32035 commented 2 years ago

this looks like an issue with the specification - https://api-docs.firefly-iii.org/

ms32035 commented 2 years ago

Check latest version (1.5.4), and report again if still an issue, and not a specification problem