-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error connecting to DKB #8
Comments
Hey, sorry for coming back to you just know. I also experienced this error when speaking with a Sparkasse. I haven't figured out yet why some institutes work be others don't. |
Hey guys, I have the same issue and like to help to fix this. I'm also a customer of Sparkasse. |
Hey, thanks for joining forces on that issue. My observation so far is that when doing a request to a problematic bank institute it already fails at the first request, i.e. the dialog initialization. |
The message acknowledgement for these messages: |
Seems like I found the problem and fixed it. Please try it out with this release: https://github.com/mitch000001/go-hbci/releases/tag/0.1.0 |
Hey @mitch000001, thanks now I can get the names of the bank accounts. Unfortunately we now have some following errors: MessageAcknowledgement for message 1 (535286721777=176863099751BRJ4=): Code: 3060, Position: none, Text: 'Bitte beachten Sie die enthaltenen Warnungen/Hinweise.' Looks like the version 0.1.0 differs in the specs from the current implementation |
Hey @CoreTex, |
That said, Acknowledgements with codes between 3000 and 3999 are considered warnings and do not necessarily lead to an error. |
@vosst can you confirm that the error is gone? |
@mitch000001 it works only partially. I can access the name of the bank account and some details. If I want to get the account balance I get this error: go-hbci: 2018/01/07 14:01:20 Supported securityFunctions: ["921"] |
@CoreTex I also got this kind of error messages. What it basically tells is that we're making a request with a specific version of a segment which is not supported (anymore?). To fix that a complete overhaul of the way the segments are chosen for a given request is necessary. ATM the segment fetching is somewhat static, which means it can work with an institute when it supports the used segment version. |
I have the same problem with Sparkasse. The allowed requests are returned with the accounts, so segments should probably chosen based on account? I'm not very deep into FinTS or this code base, so I have unfortunately no idea how to fix that. |
Hm, but as far as I understand, requesting the balance is an HKSAL element, which is supported by my account according to my bank. |
@maufl probably it does not support the version this project has implemented. |
@vosst @CoreTex @maufl I refactored the library so the BankParameter Data is used and we send the right versions. Can you verify the new build: v0.1.4-beta1 ? |
Looks better. I only tested it for fetching balances but that seems to work. It returns the correct balance for my Girokonto and my Tagesgeldkonto, tough not for my credit card. But this is a problem that I encountered with other FinTS software too, so I guess that is not a bug but a limitation. |
When trying to connect to DKB with the code in this gist, the following error is reported:
panic: Error while fetching accounts: Institute returned errors:
MessageAcknowledgement for message 1 (0): Code: 9010, Position: none, Text: 'Nachricht ungueltig.', Parameters: "Validierung fehlgeschlagen."
The text was updated successfully, but these errors were encountered: