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
INFO URL for deposit_transactions (POST, v2): https://****.mambu.com/api/deposits/transactions:search?offset=0&limit=500&detailsLevel=FULL
INFO body = {'sortingCriteria': {'field': 'creationDate', 'order': 'ASC'}, 'filterCriteria': [{'field': 'creationDate', 'operator': 'AFTER', 'value': '2021-01-15'}]}
So Mambu API interprets it with configured timezone, therefore if I'm expecting to get everything from 2021-01-15T01:50:26.000000Z but mambu returns only AFTER2021-01-15 GMT-3 (which is equivalent to 2021-01-15T03:00:00Z), I miss all transactions in between 2021-01-15T01:50:26.000000Z and 2021-01-15T03:00:00Z
Steps to reproduce
Configure Mambu API to a timezone different than UTC
Setup a bookmark within the timezone difference (e.g.: if the timezone is GMT-3 set the bookmark between 00 and 03 UTC)
Call tap-mambu
Validate missing transactions
The text was updated successfully, but these errors were encountered:
When calling Mambu API filter creationDate AFTER is truncated and stripped off timezone information;
tap-mambu/tap_mambu/sync.py
Line 363 in 7651a31
Therefore, if Mambu API is configured in a timezone different than UTC, data is lost.
Is there a reason why this is truncated? I tested with a fork and the Mambu API accepts the full datetime string, TZ aware.
Expected behaviour
If current bookmark is;
Request to Mambu should be;
So I get transactions from
2021-01-15T01:50:26.000000Z
regardless of the configured timezone in Mambu.Actual behaviour
If current bookmark is;
Request to Mambu is;
So Mambu API interprets it with configured timezone, therefore if I'm expecting to get everything from
2021-01-15T01:50:26.000000Z
but mambu returns onlyAFTER
2021-01-15
GMT-3 (which is equivalent to2021-01-15T03:00:00Z
), I miss all transactions in between2021-01-15T01:50:26.000000Z
and2021-01-15T03:00:00Z
Steps to reproduce
The text was updated successfully, but these errors were encountered: