This repository was archived by the owner on Dec 6, 2019. It is now read-only.
Description Client library is getting exceptions during error handling because it doesn't recognize the Elements element in ApiException.
Here is an example response:
<ApiException xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ErrorNumber>10</ErrorNumber>
<Type>ValidationException</Type>
<Message>A validation exception occurred</Message>
<Elements>
<DataContractBase xsi:type="Invoice">
<ValidationErrors>
<ValidationError>
<Message>One or more line items must be specified</Message>
</ValidationError>
<ValidationError>
<Message>Invoice Type must be specified</Message>
</ValidationError>
<ValidationError>
<Message>A Contact must be specified for this type of transaction</Message>
</ValidationError>
</ValidationErrors>
<Warnings />
<Date>2014-12-10T00:00:00</Date>
<BrandingThemeID xsi:nil="true" />
<Status>DRAFT</Status>
<LineAmountTypes>Exclusive</LineAmountTypes>
<LineItems />
<SubTotal>0.00</SubTotal>
<TotalTax>0.00</TotalTax>
<Total>0.00</Total>
<UpdatedDateUTC xsi:nil="true" />
<CurrencyCode>USD</CurrencyCode>
<FullyPaidOnDate xsi:nil="true" />
<InvoiceID>00000000-0000-0000-0000-000000000000</InvoiceID>
<Payments />
<CreditNotes />
<AmountDue xsi:nil="true" />
<AmountPaid xsi:nil="true" />
<AmountCredited xsi:nil="true" />
<SentToContact xsi:nil="true" />
<CurrencyRate xsi:nil="true" />
<TotalDiscount xsi:nil="true" />
<HasAttachments xsi:nil="true" />
<Attachments />
</DataContractBase>
</Elements>
</ApiException>
Reactions are currently unavailable
Client library is getting exceptions during error handling because it doesn't recognize the Elements element in ApiException.
Here is an example response: