Kişi bilgileri gizlidir. Logo çalışanları görebilir.

error 400 - bad request

  Tiger/REST Diğer

Merhaba,

Fatura entegrasyonu yaptığımız bir müşterimizde sıkılıkla 400 bad request hatası alıyoruz. Müşterimizin bize ilettiği hata detayı aşağıdaki gibi. Bu hatanı sebebi ne olabilir?

Faulting application name: LOBJECTS.exe, version: 2.69.0.2, time stamp: 0x5fff0aa4

Faulting module name: LOBJECTS.exe, version: 2.69.0.2, time stamp: 0x5fff0aa4

Exception code: 0xc0000005

Fault offset: 0x02bcef01

Faulting process id: 0x3104

Faulting application start time: 0x01d71b1e9b60f087

Faulting application path: C:\LOGO\TIGER3\LOBJECTS.exe

Faulting module path: C:\LOGO\TIGER3\LOBJECTS.exe

Report Id: 0420293e-8712-11eb-80e5-0050568614fa

Faulting package full name:

Faulting package-relative application ID:

Category: Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerOutputFormatter

EventId: 1

RequestId: 80000639-0001-f500-b63f-84710c7967bb

RequestPath: /api/Invoices/AddInvoice

SpanId: |a6902e41-4cd3a6707737e6d9.

TraceId: a6902e41-4cd3a6707737e6d9

ParentId:

ActionId: 8a26b54f-330a-490d-8abb-c84d02b3e5b8

ActionName: LogoRestWebApi.Controllers.InvoicesController.AddInvoice (LogoRestlApi)

An error occurred while trying to create an XmlSerializer for the type '<>f__AnonymousType2`2[[System.String, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.

Exception:

System.InvalidOperationException: <>f__AnonymousType2`2[System.String,System.Int32] cannot be serialized because it does not have a parameterless constructor.

at System.Xml.Serialization.TypeDesc.CheckSupported()

at System.Xml.Serialization.TypeScope.GetTypeDesc(Type type, MemberInfo source, Boolean directReference, Boolean throwOnError)

at System.Xml.Serialization.ModelScope.GetTypeModel(Type type, Boolean directReference)

at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(Type type, XmlRootAttribute root, String defaultNamespace)

at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)

at Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerOutputFormatter.CreateSerializer(Type type)


fatura tiger3 entegrasyon

Cevap vermek için giriş yapmanız gerekmektedir.