Ebics Internal Error while sending ini request
Hi
I'm trying to send the certificate to the bank. Unfortunately, it crash on "--ini" command A concern with the bank ? (a French one )
2025-11-17 17:06:46,403 INFO - Configuration initialization 2025-11-17 17:06:46,405 INFO - Loading user xxxxx 2025-11-17 17:06:46,416 INFO - The user xxxxx was loaded successfully 2025-11-17 17:06:46,416 INFO - Sending the signature certificate for user xxxxx 2025-11-17 17:06:46,993 ERROR - The signature certificate cannot be sent for the xxxxx user org.kopi.ebics.exception.EbicsException: Internal EBICS error at org.kopi.ebics.exception.ReturnCode.throwException(ReturnCode.java:59) at org.kopi.ebics.xml.DefaultResponseElement.checkReturnCode(DefaultResponseElement.java:73) at org.kopi.ebics.xml.DefaultResponseElement.report(DefaultResponseElement.java:68) at org.kopi.ebics.xml.KeyManagementResponseElement.build(KeyManagementResponseElement.java:76) at org.kopi.ebics.client.KeyManagement.sendINI(KeyManagement.java:87) at org.kopi.ebics.client.EbicsClient.sendINIRequest(EbicsClient.java:295) at org.kopi.ebics.client.EbicsClient.main(EbicsClient.java:639) Exception in thread "main" org.kopi.ebics.exception.EbicsException: Internal EBICS error at org.kopi.ebics.exception.ReturnCode.throwException(ReturnCode.java:59) at org.kopi.ebics.xml.DefaultResponseElement.checkReturnCode(DefaultResponseElement.java:73) at org.kopi.ebics.xml.DefaultResponseElement.report(DefaultResponseElement.java:68) at org.kopi.ebics.xml.KeyManagementResponseElement.build(KeyManagementResponseElement.java:76) at org.kopi.ebics.client.KeyManagement.sendINI(KeyManagement.java:87) at org.kopi.ebics.client.EbicsClient.sendINIRequest(EbicsClient.java:295) at org.kopi.ebics.client.EbicsClient.main(EbicsClient.java:639)
can you check which EBICS version your bank supports? this library is currently EBICS 2.5 which is outdated. I am working on EBICS 3 currently and will update it this week
I will let you know
Please note also a strange behaviour. If I set languageCode to fr and Country Code to FR I have a different exception. It seems that it cannot find the 061099 error code in the property file
2025-11-17 17:55:32,026 INFO - Envoie du certificat de signature pour l'utilisateur 5B319795
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.kopi.ebics.xml.KeyManagementResponseElement.build(KeyManagementResponseElement.java:75)
at org.kopi.ebics.client.KeyManagement.sendINI(KeyManagement.java:87)
at org.kopi.ebics.client.EbicsClient.sendINIRequest(EbicsClient.java:295)
at org.kopi.ebics.client.EbicsClient.main(EbicsClient.java:639)
Caused by: java.lang.RuntimeException: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key 091115
at org.kopi.ebics.messages.Messages.getString(Messages.java:71)
at org.kopi.ebics.exception.ReturnCode.create(ReturnCode.java:170)
at org.kopi.ebics.exception.ReturnCode.<clinit>(ReturnCode.java:164)
... 4 more
Caused by: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key 091115
at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:570)
at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:527)
at org.kopi.ebics.messages.Messages.getString(Messages.java:69)
... 6 more
Hi Uwe The bank waits for Ebics 2.4
Are you sure about this? EBICS 2.4 is discontinued and not supported anymore by banks since November 2023. This library here is for EBICS 2.5. Now in November 2025 the banks will stop supporting EBICS 2.5, this is why I am currently working on changing the library to EBICS 3.0.
They said 2.4, I double check with them
Hi Uwe
They confirm 2.4 🙁 3.0 is not currently planned
Is the current code compatible with 2.4 ?
This is very unfortunate that they stay on this old version. The current code of this library is EBICS 3.0 (library release 2.0.0). I decided to not support multiple versions in the library as this would complicate the code a lot. I made one more release (1.3) with the library using EBICS 2.5, maybe this can be adapted to work with your bank.
Thanks for helping. I checkout 1.3 tag. I still have the issue, how could I debug ?
[main] ERROR org.kopi.ebics.client.EbicsClient - The signature certificate cannot be sent for the 5B319795 user
org.kopi.ebics.exception.EbicsException: Internal EBICS error
You can go into the DefaultResponseElement class in parse and just print the document, then you can see exactly what comes back from the API and then see if there is a more detailed error message in there.
sometimes it also helps to print the requests
mmm not sure it helps, as the error seems to raised on the bank side
`
<header authenticate="true">
<static/>
<mutable>
<ReturnCode>061099</ReturnCode>
<ReportText>[EBICS_INTERNAL_ERROR] Internal EBICS error</ReportText>
</mutable>
</header>
<body>
<ReturnCode authenticate="true">061099</ReturnCode>
</body>
`
I'm going to send the XML request and response to the bank for a diagnostic. I will keep you inform
The bank customer agent cannot help. It seems, I'm stuck.
Sorry to hear, this is frustrating. Maybe they can recommend some alternative software which can work with their EBICS system.
Unfortunately an old release (fork from the source forge original code) was able to deal with 2.4, but apparently failed with certificate. I'm having a look on other solutions However thanks for your help.