Skip to content
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

Getting 091008 - EBICS_BANK_PUBKEY_UPDATE_REQUIRED for upload orders #2

Closed
vasyas opened this issue Jun 21, 2019 · 6 comments
Closed

Comments

@vasyas
Copy link

vasyas commented Jun 21, 2019

I am getting 091008 - [EBICS_BANK_PUBKEY_UPDATE_REQUIRED] Bank key invalid error on upload orders, CCT for example.

Download orders are working ok.
Refetching bank keys don't help.

Connecting to Handelsbanken, if that matters.

@nanov
Copy link
Contributor

nanov commented Jun 24, 2019

Hi,

Is that the bank that you are trying with?
What orders exactly are problematic?
Does it has EBICS specification/documentation?
Does it has a test-platform against some tests can be run?

I am sorry i cannot provide more data, but as every bank have it's quirks in the way they've implemented the EBICS standard this things matter.

@vladhristov
Copy link
Collaborator

Hi from me too @vasyas ,

I've tried the order myself but our bank's test platform doesn't support CCT orders yet. I changed the order's name to XE2 for example, and send the same xml file. No problems occurred.

Can you show some sample code, like how do you build the order and the xml document for the CCT order?

Regards,
Vlad

@vasyas
Copy link
Author

vasyas commented Jun 25, 2019

@vladhristov @nanov Thanks for your replies.

My code for CCT is pretty much the same as for other orders:

    const client = new Client({
        url: "https://ebics.handelsbank.com/ebicsprod",
        partnerId: <skipped>,
        userId: <skipped>,
        hostId: "SBKPR01",
        passphrase: <skipped>,
        keyStorage: fsKeysStorage("./ebics/keys"),
        tracesStorage: tracesStorage("../ebics-logs"),
    })

   const r = await client.send(Orders.CCT(<XML content skipped>))

It works for download orders, but not working for CCT.

Do you know, this Bank key invalid error - is it related to signing the EBICS message or it could be smth with the actual uploaded content?

vasyas pushed a commit to vasyas/node-ebics-client that referenced this issue Jun 26, 2019
@vasyas
Copy link
Author

vasyas commented Jun 26, 2019

@vladhristov @nanov
Found an issue with bank keys parsing.
I've made a fix and test case demoing parsing errors, please see PR #3.

BTW, thanks for the awesome lib - it was really easy to make the fix.

@nanov
Copy link
Contributor

nanov commented Jun 28, 2019

PR is merged and released, is the original issue solved with this PR?

@vasyas
Copy link
Author

vasyas commented Jun 28, 2019

Thanks.
It is closed.

@vasyas vasyas closed this as completed Jun 28, 2019
nanov pushed a commit that referenced this issue Aug 1, 2019
remove eCollect from constant and minor verbose error handeling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants