API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Debtor_CreateFromData - An internal error has occurred

0

I get this error message when i make my SOAP request:

Economic.Api.Exceptions.ServerException(E00000): An internal error has occurred. (id=24798e29-2c3f-44fc-b99a-84bc1cdcf403) at row index:0

I've spent hours trying to get this working, but with no result. I have no idea what the problem might be. (my only guess would be that i'm sending some values that might not be properly formatted, but i've not been able to locate the error.

This is my request:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><Debtor_CreateFromData xmlns="http://e-conomic.com"><data><Handle><Number>2022</Number></Handle><Number>2022</Number><DebtorGroupHandle><Number>1</Number></DebtorGroupHandle><Name>Amin Jensen</Name><VatZone>HomeCountry</VatZone><ExtendedVatZone><Number></Number></ExtendedVatZone><CurrencyHandle><Code>DKK</Code></CurrencyHandle><PriceGroupHandle><Number>1</Number></PriceGroupHandle><IsAccessible>true</IsAccessible><Ean></Ean><PublicEntryNumber></PublicEntryNumber><Email>amin@jensen.dk</Email><TelephoneAndFaxNumber>88888888</TelephoneAndFaxNumber><Website></Website><Address>Langelandsvej 3</Address><PostalCode>8000</PostalCode><City>Skagen</City><Country>Danmark</Country><CreditMaximum>0.000000</CreditMaximum><VatNumber></VatNumber><County></County><CINumber></CINumber><TermOfPaymentHandle><Id>1</Id></TermOfPaymentHandle><LayoutHandle><Id>1</Id></LayoutHandle><AttentionHandle><Id>0</Id></AttentionHandle><YourReferenceHandle><Id>0</Id></YourReferenceHandle><OurReferenceHandle><Number>0</Number></OurReferenceHandle><Balance>0.000000</Balance><DefaultDeliveryLocationHandle><Id>0</Id></DefaultDeliveryLocationHandle></data></Debtor_CreateFromData></soap:Body></soap:Envelope>

 

I hope you can help me out!

created Aug 19, 2015 by dkk
0% Accept Rate

edited Aug 19, 2015 by dkk
Q 1 A 0 C 0

1 Answer

0
hi dkk

0 != null in XML.

<CreditMaximum i:nil="true"/> = null

Let us know how it goes :-)
answered Sep 8, 2015 by olej
Visma e-conomic A/S
...