Closed
Description
Hello,
I got new access data for my online banking and now the query via Fints no longer works. The new access data is stored correctly (if I change it, a different error message appears).
fints
throws me two exceptions directly at
client = FinTS3PinTanClient(…)
with client:
Traceback (most recent call last):
File "/home/verwaltung/deployment/work/portal/.appenv/ee2dd6b6/lib/python3.10/site-packages/fints/dialog.py", line 85, in init
retval = self.send(*segments, internal_send=True)
File "/home/verwaltung/deployment/work/portal/.appenv/ee2dd6b6/lib/python3.10/site-packages/fints/dialog.py", line 156, in send
self.client.process_response_message(self, response, internal_send=internal_send)
File "/home/verwaltung/deployment/work/portal/.appenv/ee2dd6b6/lib/python3.10/site-packages/fints/client.py", line 241, in process_response_message
self._process_response(dialog, segment, response)
File "/home/verwaltung/deployment/work/portal/.appenv/ee2dd6b6/lib/python3.10/site-packages/fints/client.py", line 1290, in _process_response
self.set_tan_mechanism('999')
File "/home/verwaltung/deployment/work/portal/.appenv/ee2dd6b6/lib/python3.10/site-packages/fints/client.py", line 1344, in set_tan_mechanism
raise Exception("Cannot change TAN mechanism with a standing dialog")
Exception: Cannot change TAN mechanism with a standing dialog
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/verwaltung/deployment/work/portal/bin/import_transactions", line 8, in <module>
sys.exit(import_transactions())
File "/home/verwaltung/deployment/work/portal/.appenv/ee2dd6b6/lib/python3.10/site-packages/sw/allotmentclub/scripts.py", line 82, in import_transactions
import_transactions_from_fints(user)
File "/home/verwaltung/deployment/work/portal/.appenv/ee2dd6b6/lib/python3.10/site-packages/sw/allotmentclub/account.py", line 169, in import_transactions_from_fints
with client:
File "/home/verwaltung/deployment/work/portal/.appenv/ee2dd6b6/lib/python3.10/site-packages/fints/client.py", line 251, in __enter__
self._standing_dialog.__enter__()
File "/home/verwaltung/deployment/work/portal/.appenv/ee2dd6b6/lib/python3.10/site-packages/fints/dialog.py", line 37, in __enter__
self.init()
File "/home/verwaltung/deployment/work/portal/.appenv/ee2dd6b6/lib/python3.10/site-packages/fints/dialog.py", line 103, in init
raise FinTSDialogInitError("Couldn't establish dialog with bank, Authentication data wrong?") from e
fints.exceptions.FinTSDialogInitError: Couldn't establish dialog with bank, Authentication data wrong?
The error also occurs with the test code from the documentation (extended to include the product_id
parameter, which is mandatory since version 4.0.0).
I've already gone through the code with the debugger and noticed that self.get_tan_mechanisms()
is always empty.
Does anyone have an idea what's going wrong here?
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels