This repository was archived by the owner on Dec 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
This repository was archived by the owner on Dec 6, 2023. It is now read-only.
9130: unzulässiges Sonderzeichen #120
Copy link
Copy link
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels