raphaelm / python-fints

Pure-python FinTS (formerly known as HBCI) implementation
https://pypi.python.org/pypi/fints
GNU Lesser General Public License v3.0
324 stars 78 forks source link

UniCredit Bank - HypoVereinsbank with AppTAN throws 403 error #135

Open tloebhard opened 2 years ago

tloebhard commented 2 years ago

Is someone else using HVB with AppTAN?

Describe the bug Since switch to AppTAN HVB seems to work no more. First connection (in this case fetch tan mechanisms...) throws 403.

Bank I tested this with Name of the bank: UniCredit Bank - HypoVereinsbank FinTS URL: https://hbci-01.hypovereinsbank.de/bank/hbci

Log output / error message

File "site-packages/fints/client.py", line 1133, in fetch_tan_mechanisms
  self._ensure_system_id()
File "site-packages/fints/client.py", line 1145, in _ensure_system_id
  response = dialog.init(
File "site-packages/fints/dialog.py", line 85, in init
  retval = self.send(*segments, internal_send=True)
File "site-packages/fints/dialog.py", line 137, in send
  response = self.client.connection.send(message)
File "site-packages/fints/connection.py", line 33, in send
  raise FinTSConnectionError('Bad status code {}'.format(r.status_code))

--> fints.exceptions.FinTSConnectionError: Bad status code 403

NilsBe commented 10 months ago

same here. response is this:

b'<html><head><title>Request Failed</title></head><body>Dear Customer,<br/><br/>unfortunately we could not process your request right now.<br/><br/>Please try again later or if the problem persists, contact our support staff and refer to the following support ID: 0100E xxxxxxxxxxxxxxxx1530</body></html>'

raphaelm commented 5 months ago

Does this issue persist? Does not sound like something within the library

tloebhard commented 5 months ago

Sorry, I can't test it as I currently don't have any HVB account available.