Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

9130: unzulässiges Sonderzeichen #120

@cankaya-cme

Description

@cankaya-cme

Hi, I am trying very simply to list the accounts with csharp. Here is the code I am using:

using System.Net;
using libfintx.FinTS;
using libfintx.FinTS.Data;
using System.Text.RegularExpressions;

namespace ConsoleApp1
{
    internal class Program
    {
        static async Task Main(string[] args)
        {
            var client = new FinTsClient(new ConnectionDetails()
            {
                Blz = 72160818,
                Url = "https://hbci11.fiducia.de/cgi-bin/hbciservlet",
                UserId = "tester.demo@gmx.net",
                Pin = "xxx"
            });
            
            var sync = await client.Synchronization();

            if (sync.IsSuccess)
            {

                var x = await client.Accounts(new TANDialog(WaitForTanAsync));

                var data = x.Data.ToList();
            }
        }

        static async Task<string> WaitForTanAsync(TANDialog tanDialog)
        {
            foreach (var msg in tanDialog.DialogResult.Messages)
                Console.WriteLine(msg);

            return await Task.FromResult(Console.ReadLine());
        }
    }
}

The exception I am getting is the following:

{9050: Die Nachricht enthält Fehler., 9800: Dialog abgebrochen, 9130: unzulässiges Sonderzeichen:}

RawData

HNHBK:1:3+000000000170+300+0+1+0:1'HIRMG:2:2+9050::Die Nachricht enthält Fehler.+9800::Dialog abgebrochen'HIRMS:3:2:998+9130:8,3:unzulässiges Sonderzeichen?:'HNHBS:4:1+1'

I really don't know what to debug here because everything looks normal.

Any help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions