Skip to content

Ebics Internal Error while sending ini request #39

Description

@joemanix

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)

Activity

  1. uwemaurer commented on Nov 17, 2025

    @uwemaurer
    Collaborator

    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

  2. joemanix commented on Nov 17, 2025

    @joemanix
    Author

    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
    
  3. joemanix commented on Nov 18, 2025

    @joemanix
    Author

    Hi Uwe
    The bank waits for Ebics 2.4

  4. uwemaurer commented on Nov 18, 2025

    @uwemaurer
    Collaborator

    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.

  5. joemanix commented on Nov 19, 2025

    @joemanix
    Author

    They said 2.4, I double check with them

  6. joemanix commented on Nov 21, 2025

    @joemanix
    Author

    Hi Uwe

    They confirm 2.4 🙁
    3.0 is not currently planned

    Is the current code compatible with 2.4 ?

  7. uwemaurer commented on Nov 21, 2025

    @uwemaurer
    Collaborator

    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.

  8. joemanix commented on Nov 21, 2025

    @joemanix
    Author

    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
    
  9. uwemaurer commented on Nov 21, 2025

    @uwemaurer
    Collaborator

    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

  10. joemanix commented on Nov 21, 2025

    @joemanix
    Author

    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>
    

    `

  11. joemanix commented on Nov 21, 2025

    @joemanix
    Author

    I'm going to send the XML request and response to the bank for a diagnostic.
    I will keep you inform

  12. joemanix commented on Nov 25, 2025

    @joemanix
    Author

    The bank customer agent cannot help. It seems, I'm stuck.

  13. uwemaurer commented on Nov 26, 2025

    @uwemaurer
    Collaborator

    Sorry to hear, this is frustrating. Maybe they can recommend some alternative software which can work with their EBICS system.

  14. joemanix commented on Nov 27, 2025

    @joemanix
    Author

    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.

  15. added a commit that references this issue on Dec 5, 2025
    c0aaecb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions